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

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: Rebase. Created 5 years, 4 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
« no previous file with comments | « content/child/web_memory_dump_provider_adapter.h ('k') | content/common/gpu/gpu_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0513d2f5c1048c160c8cc6cf37feae31b0043e35 100644
--- a/content/child/web_memory_dump_provider_adapter.cc
+++ b/content/child/web_memory_dump_provider_adapter.cc
@@ -19,7 +19,10 @@ WebMemoryDumpProviderAdapter::~WebMemoryDumpProviderAdapter() {
}
bool WebMemoryDumpProviderAdapter::OnMemoryDump(
+ const base::trace_event::MemoryDumpArgs& args,
base::trace_event::ProcessMemoryDump* pmd) {
+ // TODO(ssid): Expose MemoryDumpArgs to Blink and send args to the dump
+ // providers in Blink (crbug.com/499731).
WebProcessMemoryDumpImpl web_pmd_impl(pmd);
return web_memory_dump_provider_->onMemoryDump(&web_pmd_impl);
}
« no previous file with comments | « content/child/web_memory_dump_provider_adapter.h ('k') | content/common/gpu/gpu_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698