allocator_extension.h 625 B

1234567891011121314151617181920212223
  1. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef BASE_ALLOCATOR_ALLOCATOR_EXTENSION_H_
  5. #define BASE_ALLOCATOR_ALLOCATOR_EXTENSION_H_
  6. #include <stddef.h> // for size_t
  7. #include "base/base_export.h"
  8. #include "build/build_config.h"
  9. namespace base {
  10. namespace allocator {
  11. // Request that the allocator release any free memory it knows about to the
  12. // system.
  13. BASE_EXPORT void ReleaseFreeMemory();
  14. } // namespace allocator
  15. } // namespace base
  16. #endif // BASE_ALLOCATOR_ALLOCATOR_EXTENSION_H_