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

Unified Diff: extensions/browser/extension_function.cc

Issue 2294943002: [Extensions] Remove SyncExtensionFunction (Closed)
Patch Set: 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/extension_function.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_function.cc
diff --git a/extensions/browser/extension_function.cc b/extensions/browser/extension_function.cc
index 942f1a8f4262e655ca714dd129f47f8170e9b3f0..adbb62df7765cc41f296748a713e1968b6d20bf5 100644
--- a/extensions/browser/extension_function.cc
+++ b/extensions/browser/extension_function.cc
@@ -620,19 +620,3 @@ bool AsyncExtensionFunction::ValidationFailure(
AsyncExtensionFunction* function) {
return false;
}
-
-SyncExtensionFunction::SyncExtensionFunction() {
-}
-
-SyncExtensionFunction::~SyncExtensionFunction() {
-}
-
-ExtensionFunction::ResponseAction SyncExtensionFunction::Run() {
- return RespondNow(RunSync() ? ArgumentList(std::move(results_))
- : Error(error_));
-}
-
-// static
-bool SyncExtensionFunction::ValidationFailure(SyncExtensionFunction* function) {
- return false;
-}
« no previous file with comments | « extensions/browser/extension_function.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698