OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef BASE_ALLOCATOR_ALLOCATOR_THUNKS_EXTENSION_H |
| 6 #define BASE_ALLOCATOR_ALLOCATOR_THUNKS_EXTENSION_H |
| 7 #pragma once |
| 8 |
| 9 namespace base { |
| 10 namespace allocator { |
| 11 namespace thunks { |
| 12 |
| 13 // WARNING: You probably don't want to use this file unless you are routing a |
| 14 // new allocator extension from a specific allocator implementation to base. |
| 15 // See allocator_extension.h to see the interface that base exports. |
| 16 |
| 17 typedef void GetStatsFunction(char*, int); |
| 18 void SetGetStatsFunction(GetStatsFunction* get_stats_function); |
| 19 GetStatsFunction* GetGetStatsFunction(); |
| 20 |
| 21 typedef void ReleaseFreeMemoryFunction(); |
| 22 void SetReleaseFreeMemoryFunction( |
| 23 ReleaseFreeMemoryFunction* release_free_memory_function); |
| 24 ReleaseFreeMemoryFunction* GetReleaseFreeMemoryFunction(); |
| 25 |
| 26 } // namespace thunks |
| 27 } // namespace allocator |
| 28 } // namespace base |
| 29 |
| 30 #endif |
OLD | NEW |