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

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

Issue 1272703003: Revert of [tracing] Throttle rate of heavy dumps and support to request light/heavy dumps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@light_dumps
Patch Set: 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 | « base/trace_event/memory_dump_request_args.cc ('k') | no next file » | 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 d9e0ceda09ebf2f297bab81e6fce82bd78b89ca4..66f54d21de2b8fdaf523f92f73f28fbebd2b845e 100644
--- a/content/browser/devtools/protocol/tracing_handler.cc
+++ b/content/browser/devtools/protocol/tracing_handler.cc
@@ -159,10 +159,8 @@
if (!did_initiate_recording_)
return Response::InternalError("Tracing is not started");
- base::trace_event::MemoryDumpArgs dump_args = {
- base::trace_event::MemoryDumpArgs::LEVEL_OF_DETAIL_HIGH};
base::trace_event::MemoryDumpManager::GetInstance()->RequestGlobalDump(
- base::trace_event::MemoryDumpType::EXPLICITLY_TRIGGERED, dump_args,
+ base::trace_event::MemoryDumpType::EXPLICITLY_TRIGGERED,
base::Bind(&TracingHandler::OnMemoryDumpFinished,
weak_factory_.GetWeakPtr(), command_id));
return Response::OK();
« no previous file with comments | « base/trace_event/memory_dump_request_args.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698