Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: base/allocator/allocator_extension_thunks.h

Issue 10239012: Route calls to tcmalloc MallocExtension through allocator agnostic interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/allocator/allocator_extension.cc ('k') | base/allocator/allocator_extension_thunks.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « base/allocator/allocator_extension.cc ('k') | base/allocator/allocator_extension_thunks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698