| 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 e30904d2524cac26d10b05b92d048857cdeb65ec..4f413139a72b734d55e50b2c167b74958647488b 100644
|
| --- a/chrome/browser/extensions/api/tabs/tabs_api.cc
|
| +++ b/chrome/browser/extensions/api/tabs/tabs_api.cc
|
| @@ -134,7 +134,7 @@ Browser* GetBrowserInProfileWithId(Profile* profile,
|
| return NULL;
|
| }
|
|
|
| -bool GetBrowserFromWindowID(ChromeAsyncExtensionFunction* function,
|
| +bool GetBrowserFromWindowID(ChromeUIThreadExtensionFunction* function,
|
| int window_id,
|
| Browser** browser) {
|
| if (window_id == extension_misc::kCurrentWindowId) {
|
| @@ -1187,7 +1187,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());
|
|
|
| @@ -1657,7 +1657,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());
|
|
|