Index: chrome/browser/extensions/api/tabs/tabs_api.cc |
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc |
index e5518520ecf916a869a31c97bb215974baa442a7..ae2261f540b2a13aa880fc9032e193dc47c73a5b 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc |
@@ -106,7 +106,7 @@ using api::tabs::InjectDetails; |
namespace { |
-bool GetBrowserFromWindowID(ChromeAsyncExtensionFunction* function, |
+bool GetBrowserFromWindowID(ChromeUIThreadExtensionFunction* function, |
int window_id, |
Browser** browser) { |
std::string error; |
@@ -1052,7 +1052,7 @@ bool TabsHighlightFunction::HighlightTab(TabStripModel* tabstrip, |
TabsUpdateFunction::TabsUpdateFunction() : web_contents_(NULL) { |
} |
-bool TabsUpdateFunction::RunImpl() { |
+bool TabsUpdateFunction::RunAsync() { |
scoped_ptr<tabs::Update::Params> params(tabs::Update::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
@@ -1522,7 +1522,7 @@ void TabsCaptureVisibleTabFunction::RegisterProfilePrefs( |
user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
} |
-bool TabsDetectLanguageFunction::RunImpl() { |
+bool TabsDetectLanguageFunction::RunAsync() { |
scoped_ptr<tabs::DetectLanguage::Params> params( |
tabs::DetectLanguage::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |