Index: chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
index 4df5896c6eca3668df8a5068892ff29cc6ff747c..85e051c1681b2e666541a80e873c7739112af634 100644 |
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
@@ -631,13 +631,13 @@ WebstorePrivateEnableAppLauncherFunction:: |
WebstorePrivateEnableAppLauncherFunction:: |
~WebstorePrivateEnableAppLauncherFunction() {} |
-bool WebstorePrivateEnableAppLauncherFunction::RunImpl() { |
+bool WebstorePrivateEnableAppLauncherFunction::RunSync() { |
AppListService::Get(GetCurrentBrowser()->host_desktop_type()) |
->EnableAppList(GetProfile(), AppListService::ENABLE_VIA_WEBSTORE_LINK); |
return true; |
} |
-bool WebstorePrivateGetBrowserLoginFunction::RunImpl() { |
+bool WebstorePrivateGetBrowserLoginFunction::RunSync() { |
GetBrowserLogin::Results::Info info; |
info.login = GetProfile()->GetOriginalProfile()->GetPrefs()->GetString( |
prefs::kGoogleServicesUsername); |
@@ -645,12 +645,12 @@ bool WebstorePrivateGetBrowserLoginFunction::RunImpl() { |
return true; |
} |
-bool WebstorePrivateGetStoreLoginFunction::RunImpl() { |
+bool WebstorePrivateGetStoreLoginFunction::RunSync() { |
results_ = GetStoreLogin::Results::Create(GetWebstoreLogin(GetProfile())); |
return true; |
} |
-bool WebstorePrivateSetStoreLoginFunction::RunImpl() { |
+bool WebstorePrivateSetStoreLoginFunction::RunSync() { |
scoped_ptr<SetStoreLogin::Params> params( |
SetStoreLogin::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params); |
@@ -684,12 +684,12 @@ void WebstorePrivateGetWebGLStatusFunction:: |
SendResponse(true); |
} |
-bool WebstorePrivateGetIsLauncherEnabledFunction::RunImpl() { |
+bool WebstorePrivateGetIsLauncherEnabledFunction::RunSync() { |
results_ = GetIsLauncherEnabled::Results::Create(IsAppLauncherEnabled()); |
return true; |
} |
-bool WebstorePrivateIsInIncognitoModeFunction::RunImpl() { |
+bool WebstorePrivateIsInIncognitoModeFunction::RunSync() { |
results_ = IsInIncognitoMode::Results::Create( |
GetProfile() != GetProfile()->GetOriginalProfile()); |
return true; |