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

Unified Diff: chromeos/dbus/fake_debug_daemon_client.h

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/debug_daemon_client.cc ('k') | chromeos/dbus/fake_debug_daemon_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_debug_daemon_client.h
diff --git a/chromeos/dbus/fake_debug_daemon_client.h b/chromeos/dbus/fake_debug_daemon_client.h
index 1099b5f86873ff767b41a07d372cd891f1d10e60..c475b972d27b2e21555f1a7c6fd9824c65282768 100644
--- a/chromeos/dbus/fake_debug_daemon_client.h
+++ b/chromeos/dbus/fake_debug_daemon_client.h
@@ -6,7 +6,10 @@
#define CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_
#include <stdint.h>
+#include <sys/types.h>
+#include <map>
+#include <string>
#include <vector>
#include "base/compiler_specific.h"
@@ -66,6 +69,8 @@ class CHROMEOS_EXPORT FakeDebugDaemonClient : public DebugDaemonClient {
const EnableDebuggingCallback& callback) override;
void WaitForServiceToBeAvailable(
const WaitForServiceToBeAvailableCallback& callback) override;
+ void SetOomScoreAdj(const std::map<pid_t, int32_t>& pid_to_oom_score_adj,
+ const SetOomScoreAdjCallback& callback) override;
// Sets debugging features mask for testing.
virtual void SetDebuggingFeaturesStatus(int featues_mask);
« no previous file with comments | « chromeos/dbus/debug_daemon_client.cc ('k') | chromeos/dbus/fake_debug_daemon_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698