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

Unified Diff: chrome/browser/chromeos/login/login_utils.h

Issue 8773046: [cros] Display emails of users are stored in a separate dictionary in Local State. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years 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
« no previous file with comments | « chrome/browser/chromeos/login/login_performer.cc ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/login_utils.h
diff --git a/chrome/browser/chromeos/login/login_utils.h b/chrome/browser/chromeos/login/login_utils.h
index ae75e8b991565b7187b54a053169af612b68b400..1b13edc2de7b72ab2f39bd0eb2bf642377b80b6c 100644
--- a/chrome/browser/chromeos/login/login_utils.h
+++ b/chrome/browser/chromeos/login/login_utils.h
@@ -52,9 +52,12 @@ class LoginUtils {
// Loads and prepares profile for the session. Fires |delegate| in the end.
// If |pending_requests| is true, there's a pending online auth request.
+ // If |display_email| is not empty, user's displayed email will be set to
+ // this value, shown in UI.
// Also see DelegateDeleted method.
virtual void PrepareProfile(
const std::string& username,
+ const std::string& display_email,
const std::string& password,
const GaiaAuthConsumer::ClientLoginResult& credentials,
bool pending_requests,
@@ -90,8 +93,7 @@ class LoginUtils {
virtual void PrewarmAuthentication() = 0;
// Restores authentication session after crash.
- virtual void RestoreAuthenticationSession(const std::string& user_name,
- Profile* profile) = 0;
+ virtual void RestoreAuthenticationSession(Profile* profile) = 0;
// Starts process of fetching OAuth2 tokens (based on OAuth1 tokens found
// in |user_profile|) and kicks off internal services that depend on them.
« no previous file with comments | « chrome/browser/chromeos/login/login_performer.cc ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698