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_; |