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

Unified Diff: chrome/browser/task_manager/sampling/shared_sampler_posix.cc

Issue 2238403003: Task manager: Get physical memory efficiently for all processes from SharedSampler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR feedback Created 4 years, 4 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: chrome/browser/task_manager/sampling/shared_sampler_posix.cc
diff --git a/chrome/browser/task_manager/sampling/shared_sampler_posix.cc b/chrome/browser/task_manager/sampling/shared_sampler_posix.cc
index 57d89884d7610abdaaff3bbc59e2bc9a4be40842..722bf96a9156b1a370638256f53d178dbc519843 100644
--- a/chrome/browser/task_manager/sampling/shared_sampler_posix.cc
+++ b/chrome/browser/task_manager/sampling/shared_sampler_posix.cc
@@ -17,7 +17,8 @@ int64_t SharedSampler::GetSupportedFlags() const { return 0; }
void SharedSampler::RegisterCallbacks(
base::ProcessId process_id,
- const OnIdleWakeupsCallback& on_idle_wakeups) {}
+ const OnIdleWakeupsCallback& on_idle_wakeups,
+ const OnPhysicalMemoryCallback& on_physical_memory) {}
void SharedSampler::UnregisterCallbacks(base::ProcessId process_id) {}

Powered by Google App Engine
This is Rietveld 408576698