Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebProcessMemoryDump.h |
| diff --git a/third_party/WebKit/public/platform/WebProcessMemoryDump.h b/third_party/WebKit/public/platform/WebProcessMemoryDump.h |
| index 39ec7ef74d0edec9c4ccecbed6b3e37e23673995..2d13ef28a2b98a5652078e752b004f779b1fda1b 100644 |
| --- a/third_party/WebKit/public/platform/WebProcessMemoryDump.h |
| +++ b/third_party/WebKit/public/platform/WebProcessMemoryDump.h |
| @@ -12,6 +12,14 @@ |
| class SkTraceMemoryDump; |
| +namespace base { |
|
tkent
2016/01/29 08:57:29
Was the dependency from public/platofrm/ to base/
|
| +namespace trace_event { |
| + |
| +class ProcessMemoryDump; |
| + |
| +} // namespace trace_event |
| +} // namespace base |
| + |
| namespace blink { |
| // A container which holds all the dumps for the various allocators for a given |
| @@ -103,6 +111,16 @@ public: |
| BLINK_ASSERT_NOT_REACHED(); |
| return nullptr; |
| } |
| + |
| + // TODO(hajimehoshi): This is a temporal hack to use ProcessMemoryDump |
|
haraken
2016/01/29 14:06:52
temporary
hajimehoshi
2016/02/01 06:19:35
Done.
|
| + // from PartitionAllocMemoryDumpProvider. Remove this after we move |
| + // WebProcessMemoryDumpImpl from content/child to platform. See |
| + // crbug/548254. |
| + virtual base::trace_event::ProcessMemoryDump* getProcessMemoryDump() |
| + { |
| + BLINK_ASSERT_NOT_REACHED(); |
| + return nullptr; |
| + } |
| }; |
| } // namespace blink |