Index: third_party/WebKit/public/platform/WebMemoryDumpProvider.h |
diff --git a/third_party/WebKit/public/platform/WebMemoryDumpProvider.h b/third_party/WebKit/public/platform/WebMemoryDumpProvider.h |
index 2cc644db8f7742c67873195ac5defd6151a7c57e..725c92ad5794bcdf757ec71ed4b8455f30c85ccb 100644 |
--- a/third_party/WebKit/public/platform/WebMemoryDumpProvider.h |
+++ b/third_party/WebKit/public/platform/WebMemoryDumpProvider.h |
@@ -13,6 +13,8 @@ class WebProcessMemoryDump; |
// Used to specify the type of memory dump the WebMemoryDumpProvider should |
// generate on dump requests. |
+// TODO(hajimehoshi): Remove this and use base::trace_event:: |
+// MemoryDumpLevelOfDetail instead. |
enum class WebMemoryDumpLevelOfDetail { |
Light, |
Detailed |
@@ -45,10 +47,9 @@ public: |
// provider itself. |
virtual bool supportsHeapProfiling() { return false; } |
- // Called by the memory dump manager to enable heap profiling (with |
- // non-null hook functions) or called to disable heap profiling (with null |
- // pointers). |
- virtual void onHeapProfilingEnabled(AllocationHook* allocationHook, FreeHook* freeHook) {} |
+ // Called by the memory dump manager to enable heap profiling (with true) or |
+ // called to disable heap profiling (with false). |
+ virtual void onHeapProfilingEnabled(bool enabled) {} |
}; |
} // namespace blink |