| Index: base/allocator/allocator_extension_thunks.cc
|
| diff --git a/base/allocator/allocator_extension_thunks.cc b/base/allocator/allocator_extension_thunks.cc
|
| index 0e97f6af95bc6f9638fa3136fc9418c89c53955a..541b371a9c22b0d502e80a1b9fb644a6806baa77 100644
|
| --- a/base/allocator/allocator_extension_thunks.cc
|
| +++ b/base/allocator/allocator_extension_thunks.cc
|
| @@ -17,9 +17,18 @@ namespace thunks {
|
| // can depend on it. This file can't depend on anything else in base, including
|
| // logging.
|
|
|
| +static GetPropertyFunction* g_get_property_function = NULL;
|
| static GetStatsFunction* g_get_stats_function = NULL;
|
| static ReleaseFreeMemoryFunction* g_release_free_memory_function = NULL;
|
|
|
| +void SetGetPropertyFunction(GetPropertyFunction* get_property_function) {
|
| + g_get_property_function = get_property_function;
|
| +}
|
| +
|
| +GetPropertyFunction* GetGetPropertyFunction() {
|
| + return g_get_property_function;
|
| +}
|
| +
|
| void SetGetStatsFunction(GetStatsFunction* get_stats_function) {
|
| g_get_stats_function = get_stats_function;
|
| }
|
|
|