Index: base/trace_event/memory_dump_manager.cc |
diff --git a/base/trace_event/memory_dump_manager.cc b/base/trace_event/memory_dump_manager.cc |
index 08684865cd47e4ce2e9b51b024f3c282c8a9df70..8d307cef5cbe7c0dc5eafad2bddf6f9ea08e0687 100644 |
--- a/base/trace_event/memory_dump_manager.cc |
+++ b/base/trace_event/memory_dump_manager.cc |
@@ -761,7 +761,7 @@ void MemoryDumpManager::FinalizeDumpAndAddToTrace( |
TRACE_ID_LOCAL(dump_guid)); |
} |
-void MemoryDumpManager::Enable( |
+void MemoryDumpManager::SetupForTracing( |
const TraceConfig::MemoryDumpConfig& memory_dump_config) { |
scoped_refptr<HeapProfilerSerializationState> |
heap_profiler_serialization_state = new HeapProfilerSerializationState; |
@@ -841,7 +841,7 @@ void MemoryDumpManager::Enable( |
} |
} |
-void MemoryDumpManager::Disable() { |
+void MemoryDumpManager::TeardownForTracing() { |
// There might be a memory dump in progress while this happens. Therefore, |
// ensure that the MDM state which depends on the tracing enabled / disabled |
// state is always accessed by the dumping methods holding the |lock_|. |