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

Unified Diff: content/browser/memory/memory_coordinator.cc

Issue 2360433002: Memory-monitor for Mac. (Closed)
Patch Set: calculate adjustment based on poll interval; limit calculations to avoid overflow Created 4 years, 1 month 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: content/browser/memory/memory_coordinator.cc
diff --git a/content/browser/memory/memory_coordinator.cc b/content/browser/memory/memory_coordinator.cc
index 517aaedc34a1a13f696d9e0532c5c4c9117458a1..e3ebd32ee5407dc666fdd0f332a42ebb8fcaf3fa 100644
--- a/content/browser/memory/memory_coordinator.cc
+++ b/content/browser/memory/memory_coordinator.cc
@@ -128,6 +128,10 @@ void MemoryCoordinator::EnableFeaturesForTesting() {
base::FeatureList::SetInstance(std::move(feature_list));
}
+base::TimeDelta MemoryCoordinator::GetMonitoringInterval() const {
+ return base::TimeDelta::FromSeconds(0);
+}
+
base::MemoryState MemoryCoordinator::GetCurrentMemoryState() const {
return base::MemoryState::UNKNOWN;
}

Powered by Google App Engine
This is Rietveld 408576698