| Index: base/allocator/allocator_extension.h
|
| diff --git a/base/allocator/allocator_extension.h b/base/allocator/allocator_extension.h
|
| index 3be2cea00c1863fc8a11f21dc29c23443a2f4709..64bfd1cc4acaa3fe2a8fc1e8f80ab1fe674f3856 100644
|
| --- a/base/allocator/allocator_extension.h
|
| +++ b/base/allocator/allocator_extension.h
|
| @@ -13,9 +13,6 @@
|
| namespace base {
|
| namespace allocator {
|
|
|
| -typedef void (*ReleaseFreeMemoryFunction)();
|
| -typedef bool (*GetNumericPropertyFunction)(const char* name, size_t* value);
|
| -
|
| // Request that the allocator release any free memory it knows about to the
|
| // system.
|
| BASE_EXPORT void ReleaseFreeMemory();
|
| @@ -26,20 +23,7 @@ BASE_EXPORT void ReleaseFreeMemory();
|
| // |name| or |value| cannot be NULL
|
| BASE_EXPORT bool GetNumericProperty(const char* name, size_t* value);
|
|
|
| -// These settings allow specifying a callback used to implement the allocator
|
| -// extension functions. These are optional, but if set they must only be set
|
| -// once. These will typically called in an allocator-specific initialization
|
| -// routine.
|
| -//
|
| -// No threading promises are made. The caller is responsible for making sure
|
| -// these pointers are set before any other threads attempt to call the above
|
| -// functions.
|
| -
|
| -BASE_EXPORT void SetReleaseFreeMemoryFunction(
|
| - ReleaseFreeMemoryFunction release_free_memory_function);
|
| -
|
| -BASE_EXPORT void SetGetNumericPropertyFunction(
|
| - GetNumericPropertyFunction get_numeric_property_function);
|
| +BASE_EXPORT bool IsHeapProfilerRunning();
|
|
|
| } // namespace allocator
|
| } // namespace base
|
|
|