OLD | NEW |
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 WebProcessMemoryDump_h | 5 #ifndef WebProcessMemoryDump_h |
6 #define WebProcessMemoryDump_h | 6 #define WebProcessMemoryDump_h |
7 | 7 |
| 8 #include <map> |
| 9 #include <memory> |
| 10 #include <vector> |
8 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
9 #include "base/macros.h" | 12 #include "base/macros.h" |
10 #include "base/trace_event/heap_profiler_allocation_context.h" | 13 #include "base/trace_event/heap_profiler_allocation_context.h" |
11 #include "base/trace_event/memory_dump_request_args.h" | 14 #include "base/trace_event/memory_dump_request_args.h" |
12 #include "platform/PlatformExport.h" | 15 #include "platform/PlatformExport.h" |
13 #include "platform/instrumentation/tracing/web_memory_allocator_dump.h" | 16 #include "platform/instrumentation/tracing/web_memory_allocator_dump.h" |
14 #include "wtf/HashMap.h" | 17 #include "wtf/HashMap.h" |
15 #include "wtf/text/WTFString.h" | 18 #include "wtf/text/WTFString.h" |
16 #include <map> | |
17 #include <memory> | |
18 #include <vector> | |
19 | 19 |
20 class SkTraceMemoryDump; | 20 class SkTraceMemoryDump; |
21 | 21 |
22 namespace base { | 22 namespace base { |
23 class DiscardableMemory; | 23 class DiscardableMemory; |
24 namespace trace_event { | 24 namespace trace_event { |
25 class MemoryAllocatorDump; | 25 class MemoryAllocatorDump; |
26 class ProcessMemoryDump; | 26 class ProcessMemoryDump; |
27 class TraceEventMemoryOverhead; | 27 class TraceEventMemoryOverhead; |
28 } // namespace base | 28 } // namespace base |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // Stores SkTraceMemoryDump for the current ProcessMemoryDump. | 159 // Stores SkTraceMemoryDump for the current ProcessMemoryDump. |
160 std::vector<std::unique_ptr<skia::SkiaTraceMemoryDumpImpl>> | 160 std::vector<std::unique_ptr<skia::SkiaTraceMemoryDumpImpl>> |
161 sk_trace_dump_list_; | 161 sk_trace_dump_list_; |
162 | 162 |
163 DISALLOW_COPY_AND_ASSIGN(WebProcessMemoryDump); | 163 DISALLOW_COPY_AND_ASSIGN(WebProcessMemoryDump); |
164 }; | 164 }; |
165 | 165 |
166 } // namespace blink | 166 } // namespace blink |
167 | 167 |
168 #endif // WebProcessMemoryDump_h | 168 #endif // WebProcessMemoryDump_h |
OLD | NEW |