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

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

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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.h ('k') | base/android/locale_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_ALLOCATOR_ALLOCATOR_THUNKS_EXTENSION_H 5 #ifndef BASE_ALLOCATOR_ALLOCATOR_THUNKS_EXTENSION_H
6 #define BASE_ALLOCATOR_ALLOCATOR_THUNKS_EXTENSION_H 6 #define BASE_ALLOCATOR_ALLOCATOR_THUNKS_EXTENSION_H
7 #pragma once
8 7
9 namespace base { 8 namespace base {
10 namespace allocator { 9 namespace allocator {
11 namespace thunks { 10 namespace thunks {
12 11
13 // WARNING: You probably don't want to use this file unless you are routing a 12 // 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. 13 // new allocator extension from a specific allocator implementation to base.
15 // See allocator_extension.h to see the interface that base exports. 14 // See allocator_extension.h to see the interface that base exports.
16 15
17 typedef void GetStatsFunction(char*, int); 16 typedef void GetStatsFunction(char*, int);
18 void SetGetStatsFunction(GetStatsFunction* get_stats_function); 17 void SetGetStatsFunction(GetStatsFunction* get_stats_function);
19 GetStatsFunction* GetGetStatsFunction(); 18 GetStatsFunction* GetGetStatsFunction();
20 19
21 typedef void ReleaseFreeMemoryFunction(); 20 typedef void ReleaseFreeMemoryFunction();
22 void SetReleaseFreeMemoryFunction( 21 void SetReleaseFreeMemoryFunction(
23 ReleaseFreeMemoryFunction* release_free_memory_function); 22 ReleaseFreeMemoryFunction* release_free_memory_function);
24 ReleaseFreeMemoryFunction* GetReleaseFreeMemoryFunction(); 23 ReleaseFreeMemoryFunction* GetReleaseFreeMemoryFunction();
25 24
26 } // namespace thunks 25 } // namespace thunks
27 } // namespace allocator 26 } // namespace allocator
28 } // namespace base 27 } // namespace base
29 28
30 #endif 29 #endif
OLDNEW
« no previous file with comments | « base/allocator/allocator_extension.h ('k') | base/android/locale_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698