Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2633)

Unified Diff: chrome/browser/extensions/api/identity/identity_api.h

Issue 2344653002: [Extensions] Convert some ChromeSyncExtensionFunctions (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
« no previous file with comments | « chrome/browser/extensions/api/i18n/i18n_api.cc ('k') | chrome/browser/extensions/api/identity/identity_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698