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 c1dca280f7c308c9c6b9a9aaeb9f1197bc28c179..c87fac1da3668cdb97bb9a2d3c9dbee41976b87d 100644 |
--- a/extensions/shell/browser/api/identity/identity_api.cc |
+++ b/extensions/shell/browser/api/identity/identity_api.cc |
@@ -72,5 +72,23 @@ void IdentityGetAuthTokenFunction::OnGetTokenFailure( |
Release(); // Balanced in Run(). |
} |
+/////////////////////////////////////////////////////////////////////////////// |
+ |
+IdentityRemoveCachedAuthTokenFunction::IdentityRemoveCachedAuthTokenFunction() { |
+} |
+ |
+IdentityRemoveCachedAuthTokenFunction:: |
+ ~IdentityRemoveCachedAuthTokenFunction() { |
+} |
+ |
+ExtensionFunction::ResponseAction IdentityRemoveCachedAuthTokenFunction::Run() { |
+ scoped_ptr<api::identity::RemoveCachedAuthToken::Params> params( |
+ api::identity::RemoveCachedAuthToken::Params::Create(*args_)); |
+ EXTENSION_FUNCTION_VALIDATE(params.get()); |
+ // This stub identity API does not maintain a token cache, so there is nothing |
+ // to remove. |
+ return RespondNow(NoArguments()); |
+} |
+ |
} // namespace shell |
} // namespace extensions |