projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
chrome
/
browser
/
ui
/
ash
/
session_state_delegate_chromeos.h
diff --git
a/src/chrome/browser/ui/ash/session_state_delegate_chromeos.h
b/src/chrome/browser/ui/ash/session_state_delegate_chromeos.h
index
3f9d2af
..
a95b4b9
100644
(file)
--- a/
src/chrome/browser/ui/ash/session_state_delegate_chromeos.h
+++ b/
src/chrome/browser/ui/ash/session_state_delegate_chromeos.h
@@
-33,6
+33,7
@@
class SessionStateDelegateChromeos
aura::Window* window) OVERRIDE;
virtual int GetMaximumNumberOfLoggedInUsers() const OVERRIDE;
virtual int NumberOfLoggedInUsers() const OVERRIDE;
aura::Window* window) OVERRIDE;
virtual int GetMaximumNumberOfLoggedInUsers() const OVERRIDE;
virtual int NumberOfLoggedInUsers() const OVERRIDE;
+ virtual bool CanAddUserToMultiProfile(AddUserError* error) const OVERRIDE;
virtual bool IsActiveUserSessionStarted() const OVERRIDE;
virtual bool CanLockScreen() const OVERRIDE;
virtual bool IsScreenLocked() const OVERRIDE;
virtual bool IsActiveUserSessionStarted() const OVERRIDE;
virtual bool CanLockScreen() const OVERRIDE;
virtual bool IsScreenLocked() const OVERRIDE;
@@
-76,6
+77,10
@@
class SessionStateDelegateChromeos
// Notify observers about session state change.
void NotifySessionStateChanged();
// Notify observers about session state change.
void NotifySessionStateChanged();
+ // Switches to a new user. This call might show a dialog asking the user if he
+ // wants to stop desktop casting before switching.
+ 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_;
// List of observers is only used on Chrome OS for now.
ObserverList<ash::SessionStateObserver> session_state_observer_list_;