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 CONTENT_CHILD_WEB_PROCESS_MEMORY_DUMP_IMPL_H_ | 5 #ifndef CONTENT_CHILD_WEB_PROCESS_MEMORY_DUMP_IMPL_H_ |
6 #define CONTENT_CHILD_WEB_PROCESS_MEMORY_DUMP_IMPL_H_ | 6 #define CONTENT_CHILD_WEB_PROCESS_MEMORY_DUMP_IMPL_H_ |
7 | 7 |
8 #include "base/containers/scoped_ptr_hash_map.h" | 8 #include "base/containers/scoped_ptr_hash_map.h" |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
12 #include "base/trace_event/memory_dump_request_args.h" | 13 #include "base/trace_event/memory_dump_request_args.h" |
13 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
14 #include "third_party/WebKit/public/platform/WebProcessMemoryDump.h" | 15 #include "third_party/WebKit/public/platform/WebProcessMemoryDump.h" |
15 | 16 |
16 namespace base { | 17 namespace base { |
17 class DiscardableMemory; | 18 class DiscardableMemory; |
18 namespace trace_event { | 19 namespace trace_event { |
19 class MemoryAllocatorDump; | 20 class MemoryAllocatorDump; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 102 |
102 // Stores SkTraceMemoryDump for the current ProcessMemoryDump. | 103 // Stores SkTraceMemoryDump for the current ProcessMemoryDump. |
103 ScopedVector<skia::SkiaTraceMemoryDumpImpl> sk_trace_dump_list_; | 104 ScopedVector<skia::SkiaTraceMemoryDumpImpl> sk_trace_dump_list_; |
104 | 105 |
105 DISALLOW_COPY_AND_ASSIGN(WebProcessMemoryDumpImpl); | 106 DISALLOW_COPY_AND_ASSIGN(WebProcessMemoryDumpImpl); |
106 }; | 107 }; |
107 | 108 |
108 } // namespace content | 109 } // namespace content |
109 | 110 |
110 #endif // CONTENT_CHILD_WEB_PROCESS_MEMORY_DUMP_IMPL_H_ | 111 #endif // CONTENT_CHILD_WEB_PROCESS_MEMORY_DUMP_IMPL_H_ |
OLD | NEW |