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

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: fix bookmarks 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 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;

Powered by Google App Engine
This is Rietveld 408576698