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

Unified Diff: components/signin/ios/browser/profile_oauth2_token_service_ios.mm

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
« no previous file with comments | « components/signin/ios/browser/profile_oauth2_token_service_ios.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/ios/browser/profile_oauth2_token_service_ios.mm
diff --git a/components/signin/ios/browser/profile_oauth2_token_service_ios.mm b/components/signin/ios/browser/profile_oauth2_token_service_ios.mm
index fb184f8c0b0fd3c9d79e63d297e461d717557990..775b17893fab55fb5ccc47d128bf9b50000e74fe 100644
--- a/components/signin/ios/browser/profile_oauth2_token_service_ios.mm
+++ b/components/signin/ios/browser/profile_oauth2_token_service_ios.mm
@@ -208,6 +208,12 @@ std::string ProfileOAuth2TokenServiceIOS::AccountInfo::GetAccountId() const {
return account_id_;
}
+std::string ProfileOAuth2TokenServiceIOS::AccountInfo::GetUsername() const {
+ // TODO(rogerta): when |account_id| becomes the obfuscated gaia id, this
+ // will need to be changed.
+ return account_id_;
+}
+
GoogleServiceAuthError
ProfileOAuth2TokenServiceIOS::AccountInfo::GetAuthStatus() const {
return last_auth_error_;
« no previous file with comments | « components/signin/ios/browser/profile_oauth2_token_service_ios.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698