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

Side by Side Diff: extensions/browser/extension_function.cc

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 unified diff | Download patch
« no previous file with comments | « extensions/browser/extension_function.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "extensions/browser/extension_function.h" 5 #include "extensions/browser/extension_function.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 634
635 ExtensionFunction::ResponseAction SyncExtensionFunction::Run() { 635 ExtensionFunction::ResponseAction SyncExtensionFunction::Run() {
636 return RespondNow(RunSync() ? ArgumentList(std::move(results_)) 636 return RespondNow(RunSync() ? ArgumentList(std::move(results_))
637 : Error(error_)); 637 : Error(error_));
638 } 638 }
639 639
640 // static 640 // static
641 bool SyncExtensionFunction::ValidationFailure(SyncExtensionFunction* function) { 641 bool SyncExtensionFunction::ValidationFailure(SyncExtensionFunction* function) {
642 return false; 642 return false;
643 } 643 }
644
645 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() {
646 }
647
648 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() {
649 }
650
651 ExtensionFunction::ResponseAction SyncIOThreadExtensionFunction::Run() {
652 return RespondNow(RunSync() ? ArgumentList(std::move(results_))
653 : Error(error_));
654 }
655
656 // static
657 bool SyncIOThreadExtensionFunction::ValidationFailure(
658 SyncIOThreadExtensionFunction* function) {
659 return false;
660 }
OLDNEW
« 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