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

Unified Diff: chrome/browser/extensions/chrome_extension_function.cc

Issue 2404013002: [Extensions] Remove ChromeSyncExtensionFunction (Closed)
Patch Set: Created 4 years, 2 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 | « chrome/browser/extensions/chrome_extension_function.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/chrome_extension_function.cc
diff --git a/chrome/browser/extensions/chrome_extension_function.cc b/chrome/browser/extensions/chrome_extension_function.cc
index f0f0cfd8890999724827b521229449805ff4bf22..a9ceec612647eebad8503aded30973be34270fe4 100644
--- a/chrome/browser/extensions/chrome_extension_function.cc
+++ b/chrome/browser/extensions/chrome_extension_function.cc
@@ -95,22 +95,3 @@ bool ChromeAsyncExtensionFunction::ValidationFailure(
ChromeAsyncExtensionFunction* function) {
return false;
}
-
-ChromeSyncExtensionFunction::ChromeSyncExtensionFunction() {
-}
-
-ChromeSyncExtensionFunction::~ChromeSyncExtensionFunction() {}
-
-ExtensionFunction::ResponseAction ChromeSyncExtensionFunction::Run() {
- if (!RunSync()) {
- DCHECK(!results_);
- return RespondNow(Error(error_));
- }
- return RespondNow(ArgumentList(std::move(results_)));
-}
-
-// static
-bool ChromeSyncExtensionFunction::ValidationFailure(
- ChromeSyncExtensionFunction* function) {
- return false;
-}
« no previous file with comments | « chrome/browser/extensions/chrome_extension_function.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698