Index: third_party/WebKit/public/platform/Platform.h |
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h |
index e4f773096b4f515732b721a62d9b2c633a751b9f..cdc1a5b7c146ce2cfd8ca6c6ba00eb5e8f31e747 100644 |
--- a/third_party/WebKit/public/platform/Platform.h |
+++ b/third_party/WebKit/public/platform/Platform.h |
@@ -574,9 +574,10 @@ public: |
// Registers a memory dump provider. The WebMemoryDumpProvider::onMemoryDump |
// method will be called on the same thread that called the |
- // registerMemoryDumpProvider() method. |
+ // registerMemoryDumpProvider() method. |name| is used for debugging |
+ // (duplicates are allowed) and must be a long-lived C string. |
// See crbug.com/458295 for design docs. |
- virtual void registerMemoryDumpProvider(blink::WebMemoryDumpProvider*) { } |
+ virtual void registerMemoryDumpProvider(blink::WebMemoryDumpProvider*, const char* name) { } |
// Must be called on the thread that called registerMemoryDumpProvider(). |
virtual void unregisterMemoryDumpProvider(blink::WebMemoryDumpProvider*) { } |