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

Unified Diff: chrome/browser/extensions/api/idltest/idltest_api.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: fix bookmarks 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
« no previous file with comments | « chrome/browser/extensions/api/idltest/idltest_api.h ('k') | chrome/browser/extensions/api/input/input.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/idltest/idltest_api.cc
diff --git a/chrome/browser/extensions/api/idltest/idltest_api.cc b/chrome/browser/extensions/api/idltest/idltest_api.cc
index 63e1efe9a7292f3fe2c145e5f4fce0e5dbcee8b7..71af4ac4e5e05ae32ca029463a13abe60c0a726e 100644
--- a/chrome/browser/extensions/api/idltest/idltest_api.cc
+++ b/chrome/browser/extensions/api/idltest/idltest_api.cc
@@ -21,21 +21,21 @@ base::ListValue* CopyBinaryValueToIntegerList(const BinaryValue* input) {
} // namespace
-bool IdltestSendArrayBufferFunction::RunImpl() {
+bool IdltestSendArrayBufferFunction::RunSync() {
BinaryValue* input = NULL;
EXTENSION_FUNCTION_VALIDATE(args_ != NULL && args_->GetBinary(0, &input));
SetResult(CopyBinaryValueToIntegerList(input));
return true;
}
-bool IdltestSendArrayBufferViewFunction::RunImpl() {
+bool IdltestSendArrayBufferViewFunction::RunSync() {
BinaryValue* input = NULL;
EXTENSION_FUNCTION_VALIDATE(args_ != NULL && args_->GetBinary(0, &input));
SetResult(CopyBinaryValueToIntegerList(input));
return true;
}
-bool IdltestGetArrayBufferFunction::RunImpl() {
+bool IdltestGetArrayBufferFunction::RunSync() {
std::string hello = "hello world";
BinaryValue* output =
BinaryValue::CreateWithCopiedBuffer(hello.c_str(), hello.size());
« no previous file with comments | « chrome/browser/extensions/api/idltest/idltest_api.h ('k') | chrome/browser/extensions/api/input/input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698