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

Unified Diff: chrome/browser/extensions/api/system_private/system_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/system_private/system_private_api.cc
diff --git a/chrome/browser/extensions/api/system_private/system_private_api.cc b/chrome/browser/extensions/api/system_private/system_private_api.cc
index 0ef410316c10f648cc403eba2a913daaca5d403a..fcf84d1bd74738318c9af4e2580d1d590e6d3b2c 100644
--- a/chrome/browser/extensions/api/system_private/system_private_api.cc
+++ b/chrome/browser/extensions/api/system_private/system_private_api.cc
@@ -62,7 +62,7 @@ namespace extensions {
namespace system_private = api::system_private;
-bool SystemPrivateGetIncognitoModeAvailabilityFunction::RunImpl() {
+bool SystemPrivateGetIncognitoModeAvailabilityFunction::RunSync() {
PrefService* prefs = GetProfile()->GetPrefs();
int value = prefs->GetInteger(prefs::kIncognitoModeAvailability);
EXTENSION_FUNCTION_VALIDATE(
@@ -72,7 +72,7 @@ bool SystemPrivateGetIncognitoModeAvailabilityFunction::RunImpl() {
return true;
}
-bool SystemPrivateGetUpdateStatusFunction::RunImpl() {
+bool SystemPrivateGetUpdateStatusFunction::RunSync() {
std::string state;
double download_progress = 0;
#if defined(OS_CHROMEOS)
@@ -133,7 +133,7 @@ bool SystemPrivateGetUpdateStatusFunction::RunImpl() {
return true;
}
-bool SystemPrivateGetApiKeyFunction::RunImpl() {
+bool SystemPrivateGetApiKeyFunction::RunSync() {
SetResult(new base::StringValue(google_apis::GetAPIKey()));
return true;
}

Powered by Google App Engine
This is Rietveld 408576698