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

Unified Diff: base/trace_event/memory_dump_manager.h

Issue 2865243003: memory-infra: Rename Enable/Disable in MemoryDumpManager. (Closed)
Patch Set: rebase Created 3 years, 7 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 | « no previous file | base/trace_event/memory_dump_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/memory_dump_manager.h
diff --git a/base/trace_event/memory_dump_manager.h b/base/trace_event/memory_dump_manager.h
index f3580b9722399ac578aed415480e825651e2bec5..8111a6a75719f367fd1bf7dc539ed87500488dcf 100644
--- a/base/trace_event/memory_dump_manager.h
+++ b/base/trace_event/memory_dump_manager.h
@@ -132,10 +132,11 @@ class BASE_EXPORT MemoryDumpManager {
// related modes (non-SUMMARY_ONLY).
// Initializes the peak detector, scheduler and heap profiler with the given
// config.
- void Enable(const TraceConfig::MemoryDumpConfig&);
+ void SetupForTracing(const TraceConfig::MemoryDumpConfig&);
// Tear-down tracing related state.
- void Disable();
+ // Non-tracing modes (e.g. SUMMARY_ONLY) will continue to work.
+ void TeardownForTracing();
// NOTE: Use RequestGlobalDump() to create memory dumps. Creates a memory dump
// for the current process and appends it to the trace. |callback| will be
« no previous file with comments | « no previous file | base/trace_event/memory_dump_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698