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

Unified Diff: chromeos/dbus/fake_debug_daemon_client.cc

Issue 2247433002: TabManager: Set OOM scores via a new debugd interface on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unittest 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
« no previous file with comments | « chromeos/dbus/fake_debug_daemon_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_debug_daemon_client.cc
diff --git a/chromeos/dbus/fake_debug_daemon_client.cc b/chromeos/dbus/fake_debug_daemon_client.cc
index 57680af6dc974a6b4bf2fd662f5f54248b5731fe..8ec6a8d24ef2e9164de903af406c6da03dae5370 100644
--- a/chromeos/dbus/fake_debug_daemon_client.cc
+++ b/chromeos/dbus/fake_debug_daemon_client.cc
@@ -195,6 +195,13 @@ void FakeDebugDaemonClient::WaitForServiceToBeAvailable(
}
}
+void FakeDebugDaemonClient::SetOomScoreAdj(
+ const std::map<pid_t, int32_t>& pid_to_oom_score_adj,
+ const SetOomScoreAdjCallback& callback) {
+ base::ThreadTaskRunnerHandle::Get()->PostTask(
+ FROM_HERE, base::Bind(callback, false, ""));
+}
+
void FakeDebugDaemonClient::SetDebuggingFeaturesStatus(int featues_mask) {
featues_mask_ = featues_mask;
}
« no previous file with comments | « chromeos/dbus/fake_debug_daemon_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698