Index: chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc |
diff --git a/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc b/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc |
index b2f8a8a4c446df5db54d94c28548da2a75a46ba0..c9317a73a70e9d32da464804e6b6f72f0f003405 100644 |
--- a/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc |
+++ b/chrome/browser/chromeos/login/signin/oauth2_login_verifier.cc |
@@ -33,7 +33,7 @@ OAuth2LoginVerifier::~OAuth2LoginVerifier() { |
void OAuth2LoginVerifier::VerifyUserCookies(Profile* profile) { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
- std::vector<std::pair<std::string, bool> > accounts; |
+ std::vector<gaia::ListedAccount> accounts; |
if (cookie_manager_service_->ListAccounts(&accounts)) { |
OnGaiaAccountsInCookieUpdated( |
accounts, GoogleServiceAuthError(GoogleServiceAuthError::NONE)); |
@@ -68,8 +68,8 @@ void OAuth2LoginVerifier::OnAddAccountToCookieCompleted( |
} |
void OAuth2LoginVerifier::OnGaiaAccountsInCookieUpdated( |
- const std::vector<std::pair<std::string, bool> >& accounts, |
- const GoogleServiceAuthError& error) { |
+ const std::vector<gaia::ListedAccount>& accounts, |
+ const GoogleServiceAuthError& error) { |
if (error.state() == GoogleServiceAuthError::State::NONE) { |
VLOG(1) << "ListAccounts successful."; |
delegate_->OnListAccountsSuccess(accounts); |