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

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

Issue 2943953002: Don't disable MemoryPressureListener when MemoryCoordinator is enabled (Closed)
Patch Set: Fix comment Created 3 years, 6 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
« no previous file with comments | « content/browser/memory/memory_coordinator_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/memory/memory_coordinator_impl.cc
diff --git a/content/browser/memory/memory_coordinator_impl.cc b/content/browser/memory/memory_coordinator_impl.cc
index 8e16c622ebf4c3c00ae1830bfee14148d3c1544f..847b5685d2e07d5503fa93167505398b747041b4 100644
--- a/content/browser/memory/memory_coordinator_impl.cc
+++ b/content/browser/memory/memory_coordinator_impl.cc
@@ -273,11 +273,6 @@ bool MemoryCoordinatorImpl::TryToPurgeMemoryFromChild(int render_process_id) {
return true;
}
-void MemoryCoordinatorImpl::RecordMemoryPressure(
- base::MemoryPressureMonitor::MemoryPressureLevel level) {
- // TODO(bashi): Record memory pressure level.
-}
-
MemoryState MemoryCoordinatorImpl::GetCurrentMemoryState() const {
return browser_memory_state_;
}
« no previous file with comments | « content/browser/memory/memory_coordinator_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698