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

Unified Diff: content/browser/devtools/protocol/tracing_handler.cc

Issue 1337943003: [tracing] Non-functional refactor of memory dump arg names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows test Created 5 years, 3 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 | « components/tracing/tracing_messages.h ('k') | content/browser/tracing/memory_tracing_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/tracing_handler.cc
diff --git a/content/browser/devtools/protocol/tracing_handler.cc b/content/browser/devtools/protocol/tracing_handler.cc
index ed18d3ccdbea801321f0da4ab1f189d1988f104e..5c638d99ff326e2c68f7a5555b48bc6fda519788 100644
--- a/content/browser/devtools/protocol/tracing_handler.cc
+++ b/content/browser/devtools/protocol/tracing_handler.cc
@@ -211,10 +211,9 @@ Response TracingHandler::RequestMemoryDump(DevToolsCommandId command_id) {
if (!IsRecording())
return Response::InternalError("Tracing is not started");
- base::trace_event::MemoryDumpArgs dump_args = {
- base::trace_event::MemoryDumpArgs::LevelOfDetail::HIGH};
base::trace_event::MemoryDumpManager::GetInstance()->RequestGlobalDump(
- base::trace_event::MemoryDumpType::EXPLICITLY_TRIGGERED, dump_args,
+ base::trace_event::MemoryDumpType::EXPLICITLY_TRIGGERED,
+ base::trace_event::MemoryDumpLevelOfDetail::DETAILED,
base::Bind(&TracingHandler::OnMemoryDumpFinished,
weak_factory_.GetWeakPtr(), command_id));
return Response::OK();
« no previous file with comments | « components/tracing/tracing_messages.h ('k') | content/browser/tracing/memory_tracing_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698