| Index: chrome/browser/extensions/api/identity/identity_api.cc
|
| diff --git a/chrome/browser/extensions/api/identity/identity_api.cc b/chrome/browser/extensions/api/identity/identity_api.cc
|
| index ffd17a90e85c5f924a4f8f19c979f13a8fb1c709..d10409bc48794e96db1dc4dab31eef19c11f774a 100644
|
| --- a/chrome/browser/extensions/api/identity/identity_api.cc
|
| +++ b/chrome/browser/extensions/api/identity/identity_api.cc
|
| @@ -919,24 +919,4 @@ ExtensionFunction::ResponseAction IdentityGetProfileUserInfoFunction::Run() {
|
| return RespondNow(OneArgument(profile_user_info.ToValue()));
|
| }
|
|
|
| -IdentityRemoveCachedAuthTokenFunction::IdentityRemoveCachedAuthTokenFunction() {
|
| -}
|
| -
|
| -IdentityRemoveCachedAuthTokenFunction::
|
| - ~IdentityRemoveCachedAuthTokenFunction() {
|
| -}
|
| -
|
| -ExtensionFunction::ResponseAction IdentityRemoveCachedAuthTokenFunction::Run() {
|
| - if (Profile::FromBrowserContext(browser_context())->IsOffTheRecord())
|
| - return RespondNow(Error(identity_constants::kOffTheRecord));
|
| -
|
| - std::unique_ptr<identity::RemoveCachedAuthToken::Params> params(
|
| - identity::RemoveCachedAuthToken::Params::Create(*args_));
|
| - EXTENSION_FUNCTION_VALIDATE(params.get());
|
| - IdentityAPI::GetFactoryInstance()
|
| - ->Get(browser_context())
|
| - ->EraseCachedToken(extension()->id(), params->details.token);
|
| - return RespondNow(NoArguments());
|
| -}
|
| -
|
| } // namespace extensions
|
|
|