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

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

Issue 2360433002: Memory-monitor for Mac. (Closed)
Patch Set: rebased 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
« no previous file with comments | « content/browser/memory/memory_monitor.h ('k') | content/browser/memory/memory_monitor_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/memory/memory_monitor.cc
diff --git a/content/browser/memory/memory_monitor.cc b/content/browser/memory/memory_monitor.cc
index a9e168457df9f3a93972b4b80966682948e5c004..a859cf4b8b7bcaf70277f8be8732161672caed04 100644
--- a/content/browser/memory/memory_monitor.cc
+++ b/content/browser/memory/memory_monitor.cc
@@ -22,12 +22,8 @@ void MemoryMonitorDelegate::GetSystemMemoryInfo(
base::GetSystemMemoryInfo(mem_info);
}
-#if defined(OS_MACOSX)
-// TODO(bashi,bcwhite): Remove when memory monitor for mac is available.
-std::unique_ptr<MemoryMonitor> CreateMemoryMonitor() {
- NOTREACHED();
- return std::unique_ptr<MemoryMonitor>();
+bool MemoryMonitorDelegate::GetSystemMemoryPressure(int* mem_pressure) {
+ return false;
}
-#endif
} // namespace content
« no previous file with comments | « content/browser/memory/memory_monitor.h ('k') | content/browser/memory/memory_monitor_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698