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 #include "skia/ext/skia_trace_memory_dump_impl.h" | 5 #include "skia/ext/skia_trace_memory_dump_impl.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/trace_event/memory_allocator_dump.h" | 9 #include "base/trace_event/memory_allocator_dump.h" |
8 #include "base/trace_event/memory_dump_manager.h" | 10 #include "base/trace_event/memory_dump_manager.h" |
9 #include "base/trace_event/process_memory_dump.h" | 11 #include "base/trace_event/process_memory_dump.h" |
10 #include "skia/ext/SkDiscardableMemory_chrome.h" | 12 #include "skia/ext/SkDiscardableMemory_chrome.h" |
11 | 13 |
12 namespace skia { | 14 namespace skia { |
13 | 15 |
14 namespace { | 16 namespace { |
15 const char kMallocBackingType[] = "malloc"; | 17 const char kMallocBackingType[] = "malloc"; |
16 } | 18 } |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 name.c_str(), process_memory_dump_); | 71 name.c_str(), process_memory_dump_); |
70 DCHECK(dump); | 72 DCHECK(dump); |
71 } | 73 } |
72 | 74 |
73 SkTraceMemoryDump::LevelOfDetail SkiaTraceMemoryDumpImpl::getRequestedDetails() | 75 SkTraceMemoryDump::LevelOfDetail SkiaTraceMemoryDumpImpl::getRequestedDetails() |
74 const { | 76 const { |
75 return request_level_; | 77 return request_level_; |
76 } | 78 } |
77 | 79 |
78 } // namespace skia | 80 } // namespace skia |
OLD | NEW |