| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_ALLOCATOR_ALLOCATOR_EXTENSION_H | 5 #ifndef BASE_ALLOCATOR_ALLOCATOR_EXTENSION_H |
| 6 #define BASE_ALLOCATOR_ALLOCATOR_EXTENSION_H | 6 #define BASE_ALLOCATOR_ALLOCATOR_EXTENSION_H |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include "base/allocator/allocator_extension_thunks.h" | 8 #include "base/allocator/allocator_extension_thunks.h" |
| 10 #include "base/base_export.h" | 9 #include "base/base_export.h" |
| 11 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 12 | 11 |
| 13 namespace base { | 12 namespace base { |
| 14 namespace allocator { | 13 namespace allocator { |
| 15 | 14 |
| 16 // Request that the allocator print a human-readable description of the current | 15 // Request that the allocator print a human-readable description of the current |
| 17 // state of the allocator into a null-terminated string in the memory segment | 16 // state of the allocator into a null-terminated string in the memory segment |
| (...skipping 18 matching lines...) Expand all Loading... |
| 36 // functions. | 35 // functions. |
| 37 BASE_EXPORT void SetGetStatsFunction( | 36 BASE_EXPORT void SetGetStatsFunction( |
| 38 thunks::GetStatsFunction* get_stats_function); | 37 thunks::GetStatsFunction* get_stats_function); |
| 39 | 38 |
| 40 BASE_EXPORT void SetReleaseFreeMemoryFunction( | 39 BASE_EXPORT void SetReleaseFreeMemoryFunction( |
| 41 thunks::ReleaseFreeMemoryFunction* release_free_memory_function); | 40 thunks::ReleaseFreeMemoryFunction* release_free_memory_function); |
| 42 } // namespace allocator | 41 } // namespace allocator |
| 43 } // namespace base | 42 } // namespace base |
| 44 | 43 |
| 45 #endif | 44 #endif |
| OLD | NEW |