Index: chrome/browser/extensions/api/identity/identity_api.h |
diff --git a/chrome/browser/extensions/api/identity/identity_api.h b/chrome/browser/extensions/api/identity/identity_api.h |
index bf5d77f6d1fb8d22f17997358fe6325f142457a0..303885c6a07a160e8b3b181b677e2488ed43d5a7 100644 |
--- a/chrome/browser/extensions/api/identity/identity_api.h |
+++ b/chrome/browser/extensions/api/identity/identity_api.h |
@@ -318,8 +318,7 @@ class IdentityGetProfileUserInfoFunction |
ExtensionFunction::ResponseAction Run() override; |
}; |
-class IdentityRemoveCachedAuthTokenFunction |
- : public ChromeSyncExtensionFunction { |
+class IdentityRemoveCachedAuthTokenFunction : public UIThreadExtensionFunction { |
public: |
DECLARE_EXTENSION_FUNCTION("identity.removeCachedAuthToken", |
EXPERIMENTAL_IDENTITY_REMOVECACHEDAUTHTOKEN) |
@@ -328,8 +327,8 @@ class IdentityRemoveCachedAuthTokenFunction |
protected: |
~IdentityRemoveCachedAuthTokenFunction() override; |
- // SyncExtensionFunction implementation: |
- bool RunSync() override; |
+ // ExtensionFunction: |
+ ResponseAction Run() override; |
}; |
class IdentityLaunchWebAuthFlowFunction : public ChromeAsyncExtensionFunction, |