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

Unified Diff: chrome/browser/ui/ash/session_state_delegate_chromeos.h

Issue 496563002: Multiprofile security: Show a warning messagebox when desktop casting/sharing is turned on upon user (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: chrome/browser/ui/ash/session_state_delegate_chromeos.h
diff --git a/chrome/browser/ui/ash/session_state_delegate_chromeos.h b/chrome/browser/ui/ash/session_state_delegate_chromeos.h
index 3f9d2affd52fae43d72be7c88d40347d3e8fd2f1..7050a06ea89c3ec7bb48b839ff84043cd68e5ff8 100644
--- a/chrome/browser/ui/ash/session_state_delegate_chromeos.h
+++ b/chrome/browser/ui/ash/session_state_delegate_chromeos.h
@@ -76,6 +76,10 @@ class SessionStateDelegateChromeos
// Notify observers about session state change.
void NotifySessionStateChanged();
+ // Switch to a new user. This call might show a dialog asking the user if he
+ // wants to stop desktop casting before switching.
jennyz 2014/08/20 23:28:05 nit: Switch -> Switches.
Mr4D (OOO till 08-26) 2014/08/21 00:05:03 Done.
+ void TryToSwitchUser(const std::string& user_id);
+
// List of observers is only used on Chrome OS for now.
ObserverList<ash::SessionStateObserver> session_state_observer_list_;

Powered by Google App Engine
This is Rietveld 408576698