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

Unified Diff: extensions/browser/extension_function.h

Issue 2204363002: [Extensions] Remove SyncIOThreadExtensionFunction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lazyboy@'s Created 4 years, 4 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
« no previous file with comments | « extensions/browser/api/web_request/web_request_api.cc ('k') | extensions/browser/extension_function.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_function.h
diff --git a/extensions/browser/extension_function.h b/extensions/browser/extension_function.h
index d6a0ad401abb836edcde59ec5b4bdb9fb4587a59..9627b08b71f9bfbea363138856ee14ef86520261 100644
--- a/extensions/browser/extension_function.h
+++ b/extensions/browser/extension_function.h
@@ -700,30 +700,4 @@ class SyncExtensionFunction : public UIThreadExtensionFunction {
DISALLOW_COPY_AND_ASSIGN(SyncExtensionFunction);
};
-class SyncIOThreadExtensionFunction : public IOThreadExtensionFunction {
- public:
- SyncIOThreadExtensionFunction();
-
- protected:
- ~SyncIOThreadExtensionFunction() override;
-
- // Deprecated: Override IOThreadExtensionFunction and implement Run() instead.
- //
- // SyncIOThreadExtensionFunctions implement this method. Return true to
- // respond immediately with success, false to respond immediately with an
- // error.
- virtual bool RunSync() = 0;
-
- // ValidationFailure override to match RunSync().
- static bool ValidationFailure(SyncIOThreadExtensionFunction* function);
-
- private:
- // If you're hitting a compile error here due to "final" - great! You're
- // doing the right thing, you just need to extend IOThreadExtensionFunction
- // instead of SyncIOExtensionFunction.
- ResponseAction Run() final;
-
- DISALLOW_COPY_AND_ASSIGN(SyncIOThreadExtensionFunction);
-};
-
#endif // EXTENSIONS_BROWSER_EXTENSION_FUNCTION_H_
« no previous file with comments | « extensions/browser/api/web_request/web_request_api.cc ('k') | extensions/browser/extension_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698