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

Unified Diff: chrome/browser/net/ssl_config_service_manager_pref.cc

Issue 250583004: Remove the confusing certificate revocation checkbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Set rev_checking_enabled = false unless set by enterprise policy. 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/options/browser_options.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/ssl_config_service_manager_pref.cc
diff --git a/chrome/browser/net/ssl_config_service_manager_pref.cc b/chrome/browser/net/ssl_config_service_manager_pref.cc
index 9c61f9545b98fc2c3f5cc232e93385a710fbf244..8af3c749905c7b58fc597fd88cd72c2a941cc559 100644
--- a/chrome/browser/net/ssl_config_service_manager_pref.cc
+++ b/chrome/browser/net/ssl_config_service_manager_pref.cc
@@ -265,7 +265,12 @@ void SSLConfigServiceManagerPref::OnPreferenceChanged(
void SSLConfigServiceManagerPref::GetSSLConfigFromPrefs(
net::SSLConfig* config) {
- config->rev_checking_enabled = rev_checking_enabled_.GetValue();
+ // rev_checking_enabled was formerly a user-settable preference, but now
+ // it is managed-only.
+ if (rev_checking_enabled_.IsManaged())
+ config->rev_checking_enabled = rev_checking_enabled_.GetValue();
+ else
+ config->rev_checking_enabled = false;
config->rev_checking_required_local_anchors =
rev_checking_required_local_anchors_.GetValue();
std::string version_min_str = ssl_version_min_.GetValue();
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/options/browser_options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698