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

Unified Diff: chrome/browser/extensions/api/webstore_private/webstore_private_api.cc

Issue 252653002: Rename (Chrome)SyncExtensionFunction::RunImpl to RunSync so that the RunImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/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;

Powered by Google App Engine
This is Rietveld 408576698