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

Unified Diff: chrome/browser/extensions/api/automation_internal/automation_internal_api.cc

Issue 257333002: Drive extension functions from ExtensionFunction::Run. The (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: appshell 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/automation_internal/automation_internal_api.cc
diff --git a/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc b/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc
index 9c77eda2fc5e75c92c24784360d5c792bb156feb..88600550e2d72a13775321884fac5e24abfb61b0 100644
--- a/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc
+++ b/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc
@@ -59,7 +59,7 @@ class AutomationWebContentsObserver
// if this doesn't turn accessibility on for the first time (e.g. if a
// RendererAccessibility object existed already because a screenreader has been
// run at some point).
-bool AutomationInternalEnableCurrentTabFunction::RunImpl() {
+bool AutomationInternalEnableCurrentTabFunction::RunAsync() {
if (!CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableAutomationAPI)) {
return false;
@@ -88,7 +88,7 @@ bool AutomationInternalEnableCurrentTabFunction::RunImpl() {
return true;
}
-bool AutomationInternalPerformActionFunction::RunImpl() {
+bool AutomationInternalPerformActionFunction::RunAsync() {
using api::automation_internal::PerformAction::Params;
scoped_ptr<Params> params(Params::Create(*args_));
EXTENSION_FUNCTION_VALIDATE(params.get());

Powered by Google App Engine
This is Rietveld 408576698