Chromium Code Reviews| 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..c785f2d9094696a2407df6361bb9b29c0e11c7d8 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 and used for Sync. |
|
Nikita (slow)
2011/12/05 13:13:04
nit: used for Sync > displayed in Sync status?
As
|
| // 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. |