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 |