| Index: base/allocator/allocator_extension_thunks.cc
|
| diff --git a/base/allocator/allocator_extension_thunks.cc b/base/allocator/allocator_extension_thunks.cc
|
| index e4024fb332e8d1edc4cff44bbcbb340c7c730f0a..8d0358db4b7f352dd99e49c128beda3c2aa144d2 100644
|
| --- a/base/allocator/allocator_extension_thunks.cc
|
| +++ b/base/allocator/allocator_extension_thunks.cc
|
| @@ -20,6 +20,7 @@ namespace thunks {
|
| static GetAllocatorWasteSizeFunction g_get_allocator_waste_size_function = NULL;
|
| static GetStatsFunction g_get_stats_function = NULL;
|
| static ReleaseFreeMemoryFunction g_release_free_memory_function = NULL;
|
| +static GetNumericPropertyFunction g_get_numeric_property_function = NULL;
|
|
|
| void SetGetAllocatorWasteSizeFunction(
|
| GetAllocatorWasteSizeFunction get_allocator_waste_size_function) {
|
| @@ -47,6 +48,15 @@ ReleaseFreeMemoryFunction GetReleaseFreeMemoryFunction() {
|
| return g_release_free_memory_function;
|
| }
|
|
|
| +void SetGetNumericPropertyFunction(
|
| + GetNumericPropertyFunction get_numeric_property_function) {
|
| + g_get_numeric_property_function = get_numeric_property_function;
|
| +}
|
| +
|
| +GetNumericPropertyFunction GetGetNumericPropertyFunction() {
|
| + return g_get_numeric_property_function;
|
| +}
|
| +
|
| } // namespace thunks
|
| } // namespace allocator
|
| } // namespace base
|
|
|