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

Unified Diff: chrome/browser/extensions/api/debugger/debugger_api.cc

Issue 257333002: Drive extension functions from ExtensionFunction::Run. The (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment 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: chrome/browser/extensions/api/debugger/debugger_api.cc
diff --git a/chrome/browser/extensions/api/debugger/debugger_api.cc b/chrome/browser/extensions/api/debugger/debugger_api.cc
index 35c0215ab73352aaa8f5a0063e8ff42717360a33..c4be23aa53887b1198c61beb76d061e0b6c30c5a 100644
--- a/chrome/browser/extensions/api/debugger/debugger_api.cc
+++ b/chrome/browser/extensions/api/debugger/debugger_api.cc
@@ -545,7 +545,7 @@ DebuggerAttachFunction::DebuggerAttachFunction() {
DebuggerAttachFunction::~DebuggerAttachFunction() {
}
-bool DebuggerAttachFunction::RunImpl() {
+bool DebuggerAttachFunction::RunAsync() {
scoped_ptr<Attach::Params> params(Attach::Params::Create(*args_));
EXTENSION_FUNCTION_VALIDATE(params.get());
@@ -600,7 +600,7 @@ DebuggerDetachFunction::DebuggerDetachFunction() {
DebuggerDetachFunction::~DebuggerDetachFunction() {
}
-bool DebuggerDetachFunction::RunImpl() {
+bool DebuggerDetachFunction::RunAsync() {
scoped_ptr<Detach::Params> params(Detach::Params::Create(*args_));
EXTENSION_FUNCTION_VALIDATE(params.get());
@@ -622,7 +622,7 @@ DebuggerSendCommandFunction::DebuggerSendCommandFunction() {
DebuggerSendCommandFunction::~DebuggerSendCommandFunction() {
}
-bool DebuggerSendCommandFunction::RunImpl() {
+bool DebuggerSendCommandFunction::RunAsync() {
scoped_ptr<SendCommand::Params> params(SendCommand::Params::Create(*args_));
EXTENSION_FUNCTION_VALIDATE(params.get());
@@ -705,7 +705,7 @@ DebuggerGetTargetsFunction::DebuggerGetTargetsFunction() {
DebuggerGetTargetsFunction::~DebuggerGetTargetsFunction() {
}
-bool DebuggerGetTargetsFunction::RunImpl() {
+bool DebuggerGetTargetsFunction::RunAsync() {
DevToolsTargetImpl::EnumerateAllTargets(
base::Bind(&DebuggerGetTargetsFunction::SendTargetList, this));
return true;
« no previous file with comments | « chrome/browser/extensions/api/debugger/debugger_api.h ('k') | chrome/browser/extensions/api/declarative/declarative_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698