| 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 0d17c807d4cf3616e90e8f1512ffc04bdaf744da..1905305c9bea1bcaa787cbdfcf3641b9da848006 100644
|
| --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| @@ -624,13 +624,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);
|
| @@ -638,12 +638,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);
|
| @@ -677,12 +677,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;
|
|
|