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

Unified Diff: chromeos/dbus/session_manager_client.h

Issue 16770002: Restart Chrome if per session flags have been specified on ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to ToT and addressed Nico's comments. Created 7 years, 6 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: chromeos/dbus/session_manager_client.h
diff --git a/chromeos/dbus/session_manager_client.h b/chromeos/dbus/session_manager_client.h
index 70ca3f4c7cc2729b50570f1a253cc582a9817442..ca1070736f093106da950396bac5d11a6dbc699d 100644
--- a/chromeos/dbus/session_manager_client.h
+++ b/chromeos/dbus/session_manager_client.h
@@ -15,7 +15,7 @@
namespace dbus {
class Bus;
-} // namespace
+} // namespace dbus
namespace chromeos {
@@ -158,6 +158,11 @@ class CHROMEOS_EXPORT SessionManagerClient {
const std::string& policy_blob,
const StorePolicyCallback& callback) = 0;
+ // Sets the flags to be applied next time by the session manager when Chrome
+ // is restarted inside an already started session for a particular user.
+ virtual void SetFlagsForUser(const std::string& username,
+ const std::vector<std::string>& flags) = 0;
+
// Creates the instance.
static SessionManagerClient* Create(DBusClientImplementationType type,
dbus::Bus* bus);

Powered by Google App Engine
This is Rietveld 408576698