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 1092a264830aa1dc1d3280d48aaaf707e4f46d24..4c4a8608b5791001156212f8ecb9b943024ec34e 100644 |
--- a/base/trace_event/memory_dump_manager.h |
+++ b/base/trace_event/memory_dump_manager.h |
@@ -105,11 +105,6 @@ class BASE_EXPORT MemoryDumpManager : public TraceLog::EnabledStateObserver { |
return kSystemAllocatorPoolName; |
}; |
- // Tells the initialization phase to skip scheduling periodic memory dumps. |
- void DisablePeriodicDumpsForTesting() { |
- disable_periodic_dumps_for_testing_ = true; |
- } |
- |
private: |
friend struct DefaultDeleter<MemoryDumpManager>; // For the testing instance. |
friend struct DefaultSingletonTraits<MemoryDumpManager>; |
@@ -233,11 +228,6 @@ class BASE_EXPORT MemoryDumpManager : public TraceLog::EnabledStateObserver { |
// Skips the auto-registration of the core dumpers during Initialize(). |
bool skip_core_dumpers_auto_registration_for_testing_; |
- // When true, the initialization phase does not start the periodic memory |
- // dumps. |
- // TODO(primiano): This should go into TraceConfig. https://goo.gl/5Hj3o0. |
- bool disable_periodic_dumps_for_testing_; |
- |
DISALLOW_COPY_AND_ASSIGN(MemoryDumpManager); |
}; |