Index: content/child/blink_platform_impl.h |
diff --git a/content/child/blink_platform_impl.h b/content/child/blink_platform_impl.h |
index bdf839e255bb550b080bd6cfe1763ad4bf15fb71..bf6754a288bbf984d0526cfdc8d3c60a8c23bd16 100644 |
--- a/content/child/blink_platform_impl.h |
+++ b/content/child/blink_platform_impl.h |
@@ -51,6 +51,7 @@ class ThreadSafeSender; |
class TraceLogObserverAdapter; |
class WebCryptoImpl; |
class WebGeofencingProviderImpl; |
+class WebMemoryDumpProviderAdapter; |
class CONTENT_EXPORT BlinkPlatformImpl |
: NON_EXPORTED_BASE(public blink::Platform) { |
@@ -99,6 +100,11 @@ class CONTENT_EXPORT BlinkPlatformImpl |
blink::WebThread* createThread(const char* name) override; |
blink::WebThread* currentThread() override; |
void recordAction(const blink::UserMetricsAction&) override; |
+ void registerMemoryDumpProvider(blink::WebMemoryDumpProvider* wmdp, |
+ const char* name) override; |
+ void unregisterMemoryDumpProvider( |
+ blink::WebMemoryDumpProvider* wmdp) override; |
+ blink::WebProcessMemoryDump* createProcessMemoryDump() override; |
blink::Platform::WebMemoryAllocatorDumpGuid createWebMemoryAllocatorDumpGuid( |
const blink::WebString& guidStr) override; |
void addTraceLogEnabledStateObserver( |
@@ -158,6 +164,9 @@ class CONTENT_EXPORT BlinkPlatformImpl |
base::ThreadLocalStorage::Slot current_thread_slot_; |
webcrypto::WebCryptoImpl web_crypto_; |
scoped_ptr<WebGeofencingProviderImpl> geofencing_provider_; |
+ base::ScopedPtrHashMap<blink::WebMemoryDumpProvider*, |
+ scoped_ptr<WebMemoryDumpProviderAdapter>> |
+ memory_dump_providers_; |
base::ScopedPtrHashMap<blink::Platform::TraceLogEnabledStateObserver*, |
scoped_ptr<TraceLogObserverAdapter>> |
trace_log_observers_; |