summaryrefslogtreecommitdiffstats
path: root/ash/shell_delegate.h
diff options
context:
space:
mode:
authornkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-15 16:01:59 +0000
committernkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-15 16:01:59 +0000
commite718e6f7d6eea1371878b26675472e521a24afa7 (patch)
tree16e8c9a030d9c6f9e6b60eb4ff048bcfe6750f73 /ash/shell_delegate.h
parentd86dd76ec38386fab8ffc3197bbb3be01c4006a6 (diff)
downloadchromium_src-e718e6f7d6eea1371878b26675472e521a24afa7.zip
chromium_src-e718e6f7d6eea1371878b26675472e521a24afa7.tar.gz
chromium_src-e718e6f7d6eea1371878b26675472e521a24afa7.tar.bz2
Chrome OS multi-profiles backend and UI.
* Tray - launch login UI for multi-profiles * UserManager: GetLoggedInUsers(), SwitchActiveUser(), add GetActiveUser() which will later replace GetLoggedInUser() * Login UI: support "sign in to add" mode Notifications: * Pass chromeos::User* in details for - NOTIFICATION_LOGIN_USER_CHANGED - NOTIFICATION_ACTIVE_USER_CHANGED - NOTIFICATION_SESSION_STARTED * Add NOTIFICATION_ACTIVE_USER_CHANGED (only when switching users for now) Multi-profile hacks * Initialize BrowserPolicyConnector only for primary user (http://crbug.com/230349) * Redirect logging only once (http://crbug.com/230345) * OAuth2LoginManager tracks only last logged in user (http://crbug.com/230342) Depends on: * Changes in ProfileManager https://codereview.chromium.org/14028010/ * Adding concept of "signin profile" https://codereview.chromium.org/13633003/ BUG=180903,217016 TEST=ProfileManager tests, manual (with all CLs applied and --multi-profiles) Review URL: https://codereview.chromium.org/14139003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194185 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_delegate.h')
-rw-r--r--ash/shell_delegate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index ce1c3a1..99aeb6e 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -112,6 +112,9 @@ class ASH_EXPORT ShellDelegate {
// restarted, typically due to logging in as a guest or logging out.
virtual bool IsFirstRunAfterBoot() const = 0;
+ // Returns true if multi-profiles feature is enabled.
+ virtual bool IsMultiProfilesEnabled() const = 0;
+
// Returns true if we're running in forced app mode.
virtual bool IsRunningInForcedAppMode() const = 0;