diff options
author | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-29 17:52:33 +0000 |
---|---|---|
committer | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-29 17:52:33 +0000 |
commit | 4042959621e0e51a79b12937ee3c359600557620 (patch) | |
tree | ed82c3c57bc93de23066ce116096114afa578af4 /chrome/browser/automation/automation_event_observers.h | |
parent | 99873aabefb3a7ea6e99f73a5e52916b0ea08309 (diff) | |
download | chromium_src-4042959621e0e51a79b12937ee3c359600557620.zip chromium_src-4042959621e0e51a79b12937ee3c359600557620.tar.gz chromium_src-4042959621e0e51a79b12937ee3c359600557620.tar.bz2 |
[cros] Multi-profiles backend plumbing.
* Rename UserCredentials to UserContext - we'll later use that to unify auth flow signatures and changed that on a lower level based on user type passed as a part of UserContext.
* Get username_hash from cryptohome - it will identify user mount point in multi-profiles case
* Pass username_hash up to LoginUtils
* Store username_hash in User object
* If username_hash is empty (that's the case for Guest mode), than legacy mount point will be used ("user") which is still working. This will be later fixed by identifying Guest user explicitly, see discussion at http://crbug.com/221780
BUG=180903
Review URL: https://chromiumcodereview.appspot.com/12578020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_event_observers.h')
-rw-r--r-- | chrome/browser/automation/automation_event_observers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/automation/automation_event_observers.h b/chrome/browser/automation/automation_event_observers.h index 179ccf6..daf2d5d 100644 --- a/chrome/browser/automation/automation_event_observers.h +++ b/chrome/browser/automation/automation_event_observers.h @@ -75,7 +75,7 @@ class DomEventObserver #if defined(OS_CHROMEOS) namespace chromeos { -struct UserCredentials; +struct UserContext; } // Event observer that listens for the completion of login. @@ -90,7 +90,7 @@ class LoginEventObserver virtual void OnLoginFailure(const chromeos::LoginFailure& error) OVERRIDE; - virtual void OnLoginSuccess(const chromeos::UserCredentials& credentials, + virtual void OnLoginSuccess(const chromeos::UserContext& user_context, bool pending_requests, bool using_oauth) OVERRIDE; // Overridden from content::NotificationObserver. virtual void Observe(int type, |