| 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;
|
| }
|
|
|