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

Unified Diff: base/trace_event/memory_peak_detector.cc

Issue 2799023002: memory-infra: Switch to MemoryPeakDetector and simplify MemoryDumpScheduler (Closed)
Patch Set: . Created 3 years, 8 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
Index: base/trace_event/memory_peak_detector.cc
diff --git a/base/trace_event/memory_peak_detector.cc b/base/trace_event/memory_peak_detector.cc
index a1b2e12d1c53c9af186d7d380ac3ad2597060c62..995a065df4ac59371832c310f8b9cfd1aef69f9c 100644
--- a/base/trace_event/memory_peak_detector.cc
+++ b/base/trace_event/memory_peak_detector.cc
@@ -24,6 +24,8 @@ MemoryPeakDetector* MemoryPeakDetector::GetInstance() {
return instance;
}
+// TODO call SuspendFastMemoryPolling, both when unregistering and stopping.
+
MemoryPeakDetector::MemoryPeakDetector()
: generation_(0),
state_(NOT_INITIALIZED),

Powered by Google App Engine
This is Rietveld 408576698