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 | 7 |
8 #include <stddef.h> // for size_t | 8 #include <stddef.h> // for size_t |
9 | 9 |
10 #include "base/allocator/allocator_extension_thunks.h" | 10 #include "base/allocator/allocator_extension_thunks.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 // functions. | 46 // functions. |
47 BASE_EXPORT void SetGetAllocatorWasteSizeFunction( | 47 BASE_EXPORT void SetGetAllocatorWasteSizeFunction( |
48 thunks::GetAllocatorWasteSizeFunction get_allocator_waste_size_function); | 48 thunks::GetAllocatorWasteSizeFunction get_allocator_waste_size_function); |
49 | 49 |
50 BASE_EXPORT void SetGetStatsFunction( | 50 BASE_EXPORT void SetGetStatsFunction( |
51 thunks::GetStatsFunction get_stats_function); | 51 thunks::GetStatsFunction get_stats_function); |
52 | 52 |
53 BASE_EXPORT void SetReleaseFreeMemoryFunction( | 53 BASE_EXPORT void SetReleaseFreeMemoryFunction( |
54 thunks::ReleaseFreeMemoryFunction release_free_memory_function); | 54 thunks::ReleaseFreeMemoryFunction release_free_memory_function); |
55 | 55 |
| 56 BASE_EXPORT void SetGetNumericPropertyFunction( |
| 57 thunks::GetNumericPropertyFunction get_numeric_property_function); |
| 58 |
56 } // namespace allocator | 59 } // namespace allocator |
57 } // namespace base | 60 } // namespace base |
58 | 61 |
59 #endif // BASE_ALLOCATOR_ALLOCATOR_EXTENSION_H_ | 62 #endif // BASE_ALLOCATOR_ALLOCATOR_EXTENSION_H_ |
OLD | NEW |