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

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

Issue 16196003: Include stddef.h for the definition of size_t. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove accidentally included file. Created 7 years, 6 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 | « no previous file | sandbox/win/src/sidestep/preamble_patcher.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_SHIM_H_ 5 #ifndef BASE_ALLOCATOR_ALLOCATOR_SHIM_H_
6 #define BASE_ALLOCATOR_ALLOCATOR_SHIM_H_ 6 #define BASE_ALLOCATOR_ALLOCATOR_SHIM_H_
7 7
8 #include <stddef.h>
9
8 namespace base { 10 namespace base {
9 namespace allocator { 11 namespace allocator {
10 12
11 // Resets the environment variable CHROME_ALLOCATOR to specify the choice to 13 // Resets the environment variable CHROME_ALLOCATOR to specify the choice to
12 // be used by subprocesses. Priority is given to the current value of 14 // be used by subprocesses. Priority is given to the current value of
13 // CHROME_ALLOCATOR_2 (if specified), then CHROME_ALLOCATOR (if specified), and 15 // CHROME_ALLOCATOR_2 (if specified), then CHROME_ALLOCATOR (if specified), and
14 // then a default value (typically set to TCMALLOC). 16 // then a default value (typically set to TCMALLOC).
15 void SetupSubprocessAllocator(); 17 void SetupSubprocessAllocator();
16 18
17 // Expose some of tcmalloc functions for test. 19 // Expose some of tcmalloc functions for test.
18 void* TCMallocDoMallocForTest(size_t size); 20 void* TCMallocDoMallocForTest(size_t size);
19 void TCMallocDoFreeForTest(void* ptr); 21 void TCMallocDoFreeForTest(void* ptr);
20 size_t ExcludeSpaceForMarkForTest(size_t size); 22 size_t ExcludeSpaceForMarkForTest(size_t size);
21 23
22 } // namespace allocator. 24 } // namespace allocator.
23 } // namespace base. 25 } // namespace base.
24 26
25 #endif // BASE_ALLOCATOR_ALLOCATOR_SHIM_H_ 27 #endif // BASE_ALLOCATOR_ALLOCATOR_SHIM_H_
OLDNEW
« no previous file with comments | « no previous file | sandbox/win/src/sidestep/preamble_patcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698