Chromium Code Reviews| Index: chrome/browser/ui/webui/options/browser_options_handler.cc |
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc |
| index c665f6f309df47ae9dd086717d740b3989342662..5c98df51206be3e2b656fb6fae2df5019a7ec778 100644 |
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc |
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc |
| @@ -491,6 +491,8 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) { |
| IDS_OPTIONS_RESOLVE_TIMEZONE_BY_GEOLOCATION_DESCRIPTION }, |
| { "sectionTitleDevice", IDS_OPTIONS_DEVICE_GROUP_NAME }, |
| { "sectionTitleInternet", IDS_OPTIONS_INTERNET_OPTIONS_GROUP_LABEL }, |
| + { "storageManagerButtonTitle", |
| + IDS_OPTIONS_DEVICE_GROUP_STORAGE_MANAGER_BUTTON_TITLE }, |
| { "syncButtonTextStart", IDS_SYNC_SETUP_BUTTON_LABEL }, |
| { "thirdPartyImeConfirmDisable", IDS_CANCEL }, |
| { "thirdPartyImeConfirmEnable", IDS_OK }, |
| @@ -731,6 +733,12 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) { |
| bool allow_bluetooth = true; |
| cros_settings->GetBoolean(chromeos::kAllowBluetooth, &allow_bluetooth); |
| values->SetBoolean("allowBluetooth", allow_bluetooth); |
| + |
| + const bool have_enable_storage_manager_switch = |
| + base::CommandLine::ForCurrentProcess()->HasSwitch( |
| + chromeos::switches::kEnableStorageManager); |
| + values->SetBoolean("enableStorageManager", |
|
Dan Beam
2016/05/26 00:10:37
nit:
values->SetBoolean("enableStorageManager",
fukino
2016/05/26 04:54:54
Done.
|
| + have_enable_storage_manager_switch); |
| #endif |
| } |