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

Unified Diff: chromeos/dbus/session_manager_client.h

Issue 2323133002: Speed up ARC boot if the user launches ARC app while ARC is not ready (Closed)
Patch Set: Fix unit_tests 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
« 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 c722a6e03190f6857e8f69fe9be13fd1b703c6bc..39a98fe6f7f3421c8f9fb97b2592fee9e0449103 100644
--- a/chromeos/dbus/session_manager_client.h
+++ b/chromeos/dbus/session_manager_client.h
@@ -232,6 +232,13 @@ class CHROMEOS_EXPORT SessionManagerClient : public DBusClient {
// reached).
virtual void StopArcInstance(const ArcCallback& callback) = 0;
+ // 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.
+ // Calling this multiple times is okay. Such calls except the first one
+ // will be ignored.
+ virtual void PrioritizeArcInstance(const ArcCallback& callback) = 0;
+
// Asynchronously retrieves the timestamp which ARC instance is invoked or
// returns false if there is no ARC instance or ARC is not available.
virtual void GetArcStartTime(const GetArcStartTimeCallback& callback) = 0;
« 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