Index: base/allocator/allocator_extension_thunks.h |
diff --git a/base/allocator/allocator_extension_thunks.h b/base/allocator/allocator_extension_thunks.h |
index 4a46b450dbd5e04d64aee9129837f5ef93841e7d..8801984fad765ef45b29b8ffb468bd28ecd6e325 100644 |
--- a/base/allocator/allocator_extension_thunks.h |
+++ b/base/allocator/allocator_extension_thunks.h |
@@ -5,6 +5,8 @@ |
#ifndef BASE_ALLOCATOR_ALLOCATOR_THUNKS_EXTENSION_H |
#define BASE_ALLOCATOR_ALLOCATOR_THUNKS_EXTENSION_H |
+#include <stddef.h> // for size_t |
+ |
namespace base { |
namespace allocator { |
namespace thunks { |
@@ -13,6 +15,10 @@ namespace thunks { |
// new allocator extension from a specific allocator implementation to base. |
// See allocator_extension.h to see the interface that base exports. |
+typedef bool GetPropertyFunction(const char*, size_t*); |
jar (doing other things)
2012/08/11 03:39:46
nit: I think you should provide variable names for
alexeif
2012/08/11 11:19:55
Done.
|
+void SetGetPropertyFunction(GetPropertyFunction* get_property_function); |
+GetPropertyFunction* GetGetPropertyFunction(); |
+ |
typedef void GetStatsFunction(char*, int); |
void SetGetStatsFunction(GetStatsFunction* get_stats_function); |
GetStatsFunction* GetGetStatsFunction(); |