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

Side by Side Diff: base/trace_event/memory_allocator_dump.h

Issue 2479683004: base: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration Created 4 years, 1 month 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/threading/worker_pool_posix.h ('k') | base/trace_event/process_memory_dump.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_TRACE_EVENT_MEMORY_ALLOCATOR_DUMP_H_ 5 #ifndef BASE_TRACE_EVENT_MEMORY_ALLOCATOR_DUMP_H_
6 #define BASE_TRACE_EVENT_MEMORY_ALLOCATOR_DUMP_H_ 6 #define BASE_TRACE_EVENT_MEMORY_ALLOCATOR_DUMP_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/base_export.h" 13 #include "base/base_export.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/trace_event/memory_allocator_dump_guid.h" 16 #include "base/trace_event/memory_allocator_dump_guid.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 18
19 namespace base { 19 namespace base {
20 namespace trace_event { 20 namespace trace_event {
21 21
22 class MemoryDumpManager;
23 class ProcessMemoryDump; 22 class ProcessMemoryDump;
24 class TracedValue; 23 class TracedValue;
25 24
26 // Data model for user-land memory allocator dumps. 25 // Data model for user-land memory allocator dumps.
27 class BASE_EXPORT MemoryAllocatorDump { 26 class BASE_EXPORT MemoryAllocatorDump {
28 public: 27 public:
29 enum Flags { 28 enum Flags {
30 DEFAULT = 0, 29 DEFAULT = 0,
31 30
32 // A dump marked weak will be discarded by TraceViewer. 31 // A dump marked weak will be discarded by TraceViewer.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // temporary strings on each AddScalar() call. 100 // temporary strings on each AddScalar() call.
102 std::string string_conversion_buffer_; 101 std::string string_conversion_buffer_;
103 102
104 DISALLOW_COPY_AND_ASSIGN(MemoryAllocatorDump); 103 DISALLOW_COPY_AND_ASSIGN(MemoryAllocatorDump);
105 }; 104 };
106 105
107 } // namespace trace_event 106 } // namespace trace_event
108 } // namespace base 107 } // namespace base
109 108
110 #endif // BASE_TRACE_EVENT_MEMORY_ALLOCATOR_DUMP_H_ 109 #endif // BASE_TRACE_EVENT_MEMORY_ALLOCATOR_DUMP_H_
OLDNEW
« no previous file with comments | « base/threading/worker_pool_posix.h ('k') | base/trace_event/process_memory_dump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698