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

Unified Diff: extensions/browser/extension_function.cc

Issue 252653002: Rename (Chrome)SyncExtensionFunction::RunImpl to RunSync so that the RunImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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: extensions/browser/extension_function.cc
diff --git a/extensions/browser/extension_function.cc b/extensions/browser/extension_function.cc
index accc12d4e4139be6003eb2323e4c32dfcba3c3ad..57a1529c4869e3f47145c4837579da4a40651244 100644
--- a/extensions/browser/extension_function.cc
+++ b/extensions/browser/extension_function.cc
@@ -375,8 +375,9 @@ SyncExtensionFunction::SyncExtensionFunction() {
SyncExtensionFunction::~SyncExtensionFunction() {
}
-void SyncExtensionFunction::Run() {
- SendResponse(RunImpl());
+bool SyncExtensionFunction::RunImpl() {
+ SendResponse(RunSync());
+ return true;
}
SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() {
@@ -385,6 +386,7 @@ SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() {
SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() {
}
-void SyncIOThreadExtensionFunction::Run() {
- SendResponse(RunImpl());
+void SyncIOThreadExtensionFunction::RunImpl() {
+ SendResponse(RunSync());
+ return true;
}
« extensions/browser/extension_function.h ('K') | « extensions/browser/extension_function.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698