Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2102)

Unified Diff: content/child/web_memory_dump_provider_adapter.cc

Issue 1262333005: [tracing] Introduce MemoryDumpArgs to enable light and heavy dumps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win and android fix. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/child/web_memory_dump_provider_adapter.cc
diff --git a/content/child/web_memory_dump_provider_adapter.cc b/content/child/web_memory_dump_provider_adapter.cc
index dcb015f02b929dfe06a26c78c30849b353aeab93..cb54260399198f271e5849d168edb56e16ecdd69 100644
--- a/content/child/web_memory_dump_provider_adapter.cc
+++ b/content/child/web_memory_dump_provider_adapter.cc
@@ -19,6 +19,10 @@ WebMemoryDumpProviderAdapter::~WebMemoryDumpProviderAdapter() {
}
bool WebMemoryDumpProviderAdapter::OnMemoryDump(
+ const base::trace_event::MemoryDumpArgs& args,
+ // TODO(ssid): Expose MemoryDumpArgs to Blink and send args to the dump
+ // providers in Blink (crbug.com/499731).
+
base::trace_event::ProcessMemoryDump* pmd) {
WebProcessMemoryDumpImpl web_pmd_impl(pmd);
return web_memory_dump_provider_->onMemoryDump(&web_pmd_impl);

Powered by Google App Engine
This is Rietveld 408576698