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

Unified Diff: components/memory_coordinator/browser/BUILD.gn

Issue 2310193002: Added MemoryMonitor for Linux (with test) (Closed)
Patch Set: removed 5% overhead and moved delegate to common code Created 4 years, 3 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: components/memory_coordinator/browser/BUILD.gn
diff --git a/components/memory_coordinator/browser/BUILD.gn b/components/memory_coordinator/browser/BUILD.gn
index c4ac3657b47042d98c9c7c21770e0f0a5025b4cb..31b0b9c87807e4be7b37c8e122eab16959e3f2eb 100644
--- a/components/memory_coordinator/browser/BUILD.gn
+++ b/components/memory_coordinator/browser/BUILD.gn
@@ -8,7 +8,10 @@ component("browser") {
sources = [
"memory_coordinator.cc",
"memory_coordinator.h",
+ "memory_monitor.cc",
"memory_monitor.h",
+ "memory_monitor_linux.cc",
+ "memory_monitor_linux.h",
"memory_monitor_win.cc",
"memory_monitor_win.h",
]
@@ -30,6 +33,7 @@ source_set("unit_tests") {
sources = [
"memory_coordinator_unittest.cc",
+ "memory_monitor_linux_unittest.cc",
"memory_monitor_win_unittest.cc",
]

Powered by Google App Engine
This is Rietveld 408576698