| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/dom_ui/options/advanced_options_handler.h" | 5 #include "chrome/browser/dom_ui/options/advanced_options_handler.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 localized_strings->SetString("cloudPrintProxyEnabledButton", | 162 localized_strings->SetString("cloudPrintProxyEnabledButton", |
| 163 l10n_util::GetStringUTF16(IDS_OPTIONS_CLOUD_PRINT_PROXY_ENABLED_BUTTON)); | 163 l10n_util::GetStringUTF16(IDS_OPTIONS_CLOUD_PRINT_PROXY_ENABLED_BUTTON)); |
| 164 localized_strings->SetString("cloudPrintProxyEnabledManageButton", | 164 localized_strings->SetString("cloudPrintProxyEnabledManageButton", |
| 165 l10n_util::GetStringUTF16( | 165 l10n_util::GetStringUTF16( |
| 166 IDS_OPTIONS_CLOUD_PRINT_PROXY_ENABLED_MANAGE_BUTTON)); | 166 IDS_OPTIONS_CLOUD_PRINT_PROXY_ENABLED_MANAGE_BUTTON)); |
| 167 localized_strings->SetString("cloudPrintProxyEnablingButton", | 167 localized_strings->SetString("cloudPrintProxyEnablingButton", |
| 168 l10n_util::GetStringUTF16(IDS_OPTIONS_CLOUD_PRINT_PROXY_ENABLING_BUTTON)); | 168 l10n_util::GetStringUTF16(IDS_OPTIONS_CLOUD_PRINT_PROXY_ENABLING_BUTTON)); |
| 169 #endif | 169 #endif |
| 170 localized_strings->SetString("enableLogging", | 170 localized_strings->SetString("enableLogging", |
| 171 l10n_util::GetStringUTF16(IDS_OPTIONS_ENABLE_LOGGING)); | 171 l10n_util::GetStringUTF16(IDS_OPTIONS_ENABLE_LOGGING)); |
| 172 localized_strings->SetString("disableServices", | 172 localized_strings->SetString("improveBrowsingExperience", |
| 173 l10n_util::GetStringUTF16(IDS_OPTIONS_DISABLE_SERVICES)); | 173 l10n_util::GetStringUTF16(IDS_OPTIONS_IMPROVE_BROWSING_EXPERIENCE)); |
| 174 localized_strings->SetString("disableWebServices", |
| 175 l10n_util::GetStringUTF16(IDS_OPTIONS_DISABLE_WEB_SERVICES)); |
| 174 localized_strings->SetString("optionsReset", | 176 localized_strings->SetString("optionsReset", |
| 175 l10n_util::GetStringUTF16(IDS_OPTIONS_RESET)); | 177 l10n_util::GetStringUTF16(IDS_OPTIONS_RESET)); |
| 176 localized_strings->SetString("optionsResetMessage", | 178 localized_strings->SetString("optionsResetMessage", |
| 177 l10n_util::GetStringUTF16(IDS_OPTIONS_RESET_MESSAGE)); | 179 l10n_util::GetStringUTF16(IDS_OPTIONS_RESET_MESSAGE)); |
| 178 localized_strings->SetString("optionsResetOkLabel", | 180 localized_strings->SetString("optionsResetOkLabel", |
| 179 l10n_util::GetStringUTF16(IDS_OPTIONS_RESET_OKLABEL)); | 181 l10n_util::GetStringUTF16(IDS_OPTIONS_RESET_OKLABEL)); |
| 180 localized_strings->SetString("optionsResetCancelLabel", | 182 localized_strings->SetString("optionsResetCancelLabel", |
| 181 l10n_util::GetStringUTF16(IDS_OPTIONS_RESET_CANCELLABEL)); | 183 l10n_util::GetStringUTF16(IDS_OPTIONS_RESET_CANCELLABEL)); |
| 182 } | 184 } |
| 183 | 185 |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 FundamentalValue useSSL3Value(useSSL3Setting); | 572 FundamentalValue useSSL3Value(useSSL3Setting); |
| 571 dom_ui_->CallJavascriptFunction( | 573 dom_ui_->CallJavascriptFunction( |
| 572 L"options.AdvancedOptions.SetUseSSL3CheckboxState", | 574 L"options.AdvancedOptions.SetUseSSL3CheckboxState", |
| 573 useSSL3Value, disabledValue); | 575 useSSL3Value, disabledValue); |
| 574 FundamentalValue useTLS1Value(useTLS1Setting); | 576 FundamentalValue useTLS1Value(useTLS1Setting); |
| 575 dom_ui_->CallJavascriptFunction( | 577 dom_ui_->CallJavascriptFunction( |
| 576 L"options.AdvancedOptions.SetUseTLS1CheckboxState", | 578 L"options.AdvancedOptions.SetUseTLS1CheckboxState", |
| 577 useTLS1Value, disabledValue); | 579 useTLS1Value, disabledValue); |
| 578 } | 580 } |
| 579 #endif | 581 #endif |
| OLD | NEW |