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..e5ee8ce938381d3033ab5d63d88a3c7b9f4cd458 100644 |
--- a/base/allocator/allocator_extension_thunks.cc |
+++ b/base/allocator/allocator_extension_thunks.cc |
@@ -17,23 +17,32 @@ namespace thunks { |
// can depend on it. This file can't depend on anything else in base, including |
// logging. |
-static GetStatsFunction* g_get_stats_function = NULL; |
-static ReleaseFreeMemoryFunction* g_release_free_memory_function = NULL; |
+static GetPropertyFunction g_get_property_function = NULL; |
+static GetStatsFunction g_get_stats_function = NULL; |
+static ReleaseFreeMemoryFunction g_release_free_memory_function = NULL; |
-void SetGetStatsFunction(GetStatsFunction* get_stats_function) { |
+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; |
} |
-GetStatsFunction* GetGetStatsFunction() { |
+GetStatsFunction GetGetStatsFunction() { |
return g_get_stats_function; |
} |
void SetReleaseFreeMemoryFunction( |
- ReleaseFreeMemoryFunction* release_free_memory_function) { |
+ ReleaseFreeMemoryFunction release_free_memory_function) { |
g_release_free_memory_function = release_free_memory_function; |
} |
-ReleaseFreeMemoryFunction* GetReleaseFreeMemoryFunction() { |
+ReleaseFreeMemoryFunction GetReleaseFreeMemoryFunction() { |
return g_release_free_memory_function; |
} |