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

Side by Side Diff: base/memory/discardable_memory.h

Issue 1549003002: Switch to standard integer types in base/memory/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « base/memory/aligned_memory_unittest.cc ('k') | base/memory/discardable_memory_allocator.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_MEMORY_DISCARDABLE_MEMORY_H_ 5 #ifndef BASE_MEMORY_DISCARDABLE_MEMORY_H_
6 #define BASE_MEMORY_DISCARDABLE_MEMORY_H_ 6 #define BASE_MEMORY_DISCARDABLE_MEMORY_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
11 10
12 namespace base { 11 namespace base {
13 12
14 namespace trace_event { 13 namespace trace_event {
15 class MemoryAllocatorDump; 14 class MemoryAllocatorDump;
16 class ProcessMemoryDump; 15 class ProcessMemoryDump;
17 } 16 }
18 17
19 // Discardable memory is used to cache large objects without worrying about 18 // Discardable memory is used to cache large objects without worrying about
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // discardable memory. The MemoryAllocatorDump created is owned by |pmd|. See 69 // discardable memory. The MemoryAllocatorDump created is owned by |pmd|. See
71 // ProcessMemoryDump::CreateAllocatorDump. 70 // ProcessMemoryDump::CreateAllocatorDump.
72 virtual trace_event::MemoryAllocatorDump* CreateMemoryAllocatorDump( 71 virtual trace_event::MemoryAllocatorDump* CreateMemoryAllocatorDump(
73 const char* name, 72 const char* name,
74 trace_event::ProcessMemoryDump* pmd) const = 0; 73 trace_event::ProcessMemoryDump* pmd) const = 0;
75 }; 74 };
76 75
77 } // namespace base 76 } // namespace base
78 77
79 #endif // BASE_MEMORY_DISCARDABLE_MEMORY_H_ 78 #endif // BASE_MEMORY_DISCARDABLE_MEMORY_H_
OLDNEW
« no previous file with comments | « base/memory/aligned_memory_unittest.cc ('k') | base/memory/discardable_memory_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698