| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/ui/webui/options/advanced_options_handler.h" | 5 #include "chrome/browser/ui/webui/options/advanced_options_handler.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 { "safeBrowsingEnableProtection", | 95 { "safeBrowsingEnableProtection", |
| 96 IDS_OPTIONS_SAFEBROWSING_ENABLEPROTECTION }, | 96 IDS_OPTIONS_SAFEBROWSING_ENABLEPROTECTION }, |
| 97 { "sslGroupDescription", | 97 { "sslGroupDescription", |
| 98 IDS_OPTIONS_SSL_GROUP_DESCRIPTION }, | 98 IDS_OPTIONS_SSL_GROUP_DESCRIPTION }, |
| 99 { "sslCheckRevocation", | 99 { "sslCheckRevocation", |
| 100 IDS_OPTIONS_SSL_CHECKREVOCATION }, | 100 IDS_OPTIONS_SSL_CHECKREVOCATION }, |
| 101 { "sslUseSSL3", | 101 { "sslUseSSL3", |
| 102 IDS_OPTIONS_SSL_USESSL3 }, | 102 IDS_OPTIONS_SSL_USESSL3 }, |
| 103 { "sslUseTLS1", | 103 { "sslUseTLS1", |
| 104 IDS_OPTIONS_SSL_USETLS1 }, | 104 IDS_OPTIONS_SSL_USETLS1 }, |
| 105 { "networkDNSPrefetchEnabledDescription", | 105 { "networkPredictionEnabledDescription", |
| 106 IDS_NETWORK_DNS_PREFETCH_ENABLED_DESCRIPTION }, | 106 IDS_NETWORK_PREDICTION_ENABLED_DESCRIPTION }, |
| 107 { "privacyContentSettingsButton", | 107 { "privacyContentSettingsButton", |
| 108 IDS_OPTIONS_PRIVACY_CONTENT_SETTINGS_BUTTON }, | 108 IDS_OPTIONS_PRIVACY_CONTENT_SETTINGS_BUTTON }, |
| 109 { "privacyClearDataButton", | 109 { "privacyClearDataButton", |
| 110 IDS_OPTIONS_PRIVACY_CLEAR_DATA_BUTTON }, | 110 IDS_OPTIONS_PRIVACY_CLEAR_DATA_BUTTON }, |
| 111 { "linkDoctorPref", | 111 { "linkDoctorPref", |
| 112 IDS_OPTIONS_LINKDOCTOR_PREF }, | 112 IDS_OPTIONS_LINKDOCTOR_PREF }, |
| 113 { "suggestPref", | 113 { "suggestPref", |
| 114 IDS_OPTIONS_SUGGEST_PREF }, | 114 IDS_OPTIONS_SUGGEST_PREF }, |
| 115 { "tabsToLinksPref", | 115 { "tabsToLinksPref", |
| 116 IDS_OPTIONS_TABS_TO_LINKS_PREF }, | 116 IDS_OPTIONS_TABS_TO_LINKS_PREF }, |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 FundamentalValue useSSL3Value(useSSL3Setting); | 713 FundamentalValue useSSL3Value(useSSL3Setting); |
| 714 web_ui_->CallJavascriptFunction( | 714 web_ui_->CallJavascriptFunction( |
| 715 "options.AdvancedOptions.SetUseSSL3CheckboxState", | 715 "options.AdvancedOptions.SetUseSSL3CheckboxState", |
| 716 useSSL3Value, disabledValue); | 716 useSSL3Value, disabledValue); |
| 717 FundamentalValue useTLS1Value(useTLS1Setting); | 717 FundamentalValue useTLS1Value(useTLS1Setting); |
| 718 web_ui_->CallJavascriptFunction( | 718 web_ui_->CallJavascriptFunction( |
| 719 "options.AdvancedOptions.SetUseTLS1CheckboxState", | 719 "options.AdvancedOptions.SetUseTLS1CheckboxState", |
| 720 useTLS1Value, disabledValue); | 720 useTLS1Value, disabledValue); |
| 721 } | 721 } |
| 722 #endif | 722 #endif |
| OLD | NEW |