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

Unified Diff: chromeos/dbus/session_manager_client.h

Issue 2649133003: Remove PrioritizeArcInstance() from SessionManagerClient (Closed)
Patch Set: Created 3 years, 11 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/mock_session_manager_client.h ('k') | chromeos/dbus/session_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/session_manager_client.h
diff --git a/chromeos/dbus/session_manager_client.h b/chromeos/dbus/session_manager_client.h
index 8d335328fab955a4a7b49666c4459d407103f1ec..c2dfc8f296765f45cacb46fbed926faa158ea364 100644
--- a/chromeos/dbus/session_manager_client.h
+++ b/chromeos/dbus/session_manager_client.h
@@ -254,14 +254,6 @@ class CHROMEOS_EXPORT SessionManagerClient : public DBusClient {
// reached).
virtual void StopArcInstance(const ArcCallback& callback) = 0;
- // Deprecated. Use SetArcCpuRestriction() instead.
- // TODO(yusukes): Remove the interface.
- // Prioritizes the ARC instance by removing cgroups restrictions that
- // session_manager applies to the instance by default. Upon completion,
- // invokes |callback| with the result; true on success, false on failure.
- // All calls after the first one will have no effect.
- virtual void PrioritizeArcInstance(const ArcCallback& callback) = 0;
-
// Adjusts the amount of CPU the ARC instance is allowed to use. When
// |restriction_state| is CONTAINER_CPU_RESTRICTION_FOREGROUND the limit is
// adjusted so ARC can use all the system's CPU if needed. When it is
« no previous file with comments | « chromeos/dbus/mock_session_manager_client.h ('k') | chromeos/dbus/session_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698