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

Unified Diff: chrome/browser/chromeos/login/signin/oauth2_login_verifier.h

Issue 1162103003: ListAccounts will return the Gaia ID as well as the email of the account. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 months 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
Index: chrome/browser/chromeos/login/signin/oauth2_login_verifier.h
diff --git a/chrome/browser/chromeos/login/signin/oauth2_login_verifier.h b/chrome/browser/chromeos/login/signin/oauth2_login_verifier.h
index 9c4a52c7dcf6dd6bf317f1fb81d3a916f1cc196e..f105a1f58c6242997dacdd05a4a9a72c9fa2bb2b 100644
--- a/chrome/browser/chromeos/login/signin/oauth2_login_verifier.h
+++ b/chrome/browser/chromeos/login/signin/oauth2_login_verifier.h
@@ -32,7 +32,7 @@ class OAuth2LoginVerifier : public GaiaCookieManagerService::Observer {
// Invoked when account list is retrieved during post-merge session
// verification.
virtual void OnListAccountsSuccess(
- const std::vector<std::pair<std::string, bool>>& accounts) = 0;
+ const std::vector<gaia::ListedAccount>& accounts) = 0;
// Invoked when post-merge session verification fails.
virtual void OnListAccountsFailure(bool connection_error) = 0;
@@ -57,8 +57,8 @@ class OAuth2LoginVerifier : public GaiaCookieManagerService::Observer {
const std::string& account_id,
const GoogleServiceAuthError& error) override;
void OnGaiaAccountsInCookieUpdated(
- const std::vector<std::pair<std::string, bool> >& accounts,
- const GoogleServiceAuthError& error) override;
+ const std::vector<gaia::ListedAccount>& accounts,
+ const GoogleServiceAuthError& error) override;
OAuth2LoginVerifier::Delegate* delegate_;
GaiaCookieManagerService* cookie_manager_service_;

Powered by Google App Engine
This is Rietveld 408576698