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

Unified Diff: components/signin/core/browser/mutable_profile_oauth2_token_service.cc

Issue 288813003: Add username of account that has an auth error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 6 years, 7 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: components/signin/core/browser/mutable_profile_oauth2_token_service.cc
diff --git a/components/signin/core/browser/mutable_profile_oauth2_token_service.cc b/components/signin/core/browser/mutable_profile_oauth2_token_service.cc
index a0acd2365a611c04f137d3bcc5251b2fd4ee06ec..8f9b55b63d59a066173e445ca71fe92d5bf0458c 100644
--- a/components/signin/core/browser/mutable_profile_oauth2_token_service.cc
+++ b/components/signin/core/browser/mutable_profile_oauth2_token_service.cc
@@ -109,6 +109,13 @@ MutableProfileOAuth2TokenService::AccountInfo::GetAccountId() const {
return account_id_;
}
+std::string
+MutableProfileOAuth2TokenService::AccountInfo::GetUsername() const {
+ // TODO(rogerta): when |account_id| becomes the obfuscated gaia id, this
+ // will need to be changed.
+ return account_id_;
+}
+
GoogleServiceAuthError
MutableProfileOAuth2TokenService::AccountInfo::GetAuthStatus() const {
return last_auth_error_;

Powered by Google App Engine
This is Rietveld 408576698