Index: extensions/shell/browser/api/identity/identity_api.cc |
diff --git a/extensions/shell/browser/api/identity/identity_api.cc b/extensions/shell/browser/api/identity/identity_api.cc |
index 8fb4fbb0495de597d234a09b0cacc4b8a1c7a5d5..bf8ad1f8fdace351a81d6560279ba6e22278a8f4 100644 |
--- a/extensions/shell/browser/api/identity/identity_api.cc |
+++ b/extensions/shell/browser/api/identity/identity_api.cc |
@@ -65,7 +65,7 @@ ExtensionFunction::ResponseAction IdentityGetAuthTokenFunction::Run() { |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
ShellOAuth2TokenService* service = ShellOAuth2TokenService::GetInstance(); |
- std::string account_id = service->account_id(); |
+ std::string account_id = service->AccountId(); |
if (account_id.empty()) |
return RespondNow(Error(kErrorNoUserAccount)); |
@@ -85,7 +85,7 @@ ExtensionFunction::ResponseAction IdentityGetAuthTokenFunction::Run() { |
// that will be returned to the app. |
std::set<std::string> no_scopes; |
access_token_request_ = |
- service->StartRequest(service->account_id(), no_scopes, this); |
+ service->StartRequest(service->AccountId(), no_scopes, this); |
return RespondLater(); |
} |