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

Side by Side Diff: net/base/ssl_config_service.cc

Issue 10981045: Revert 158894 - Disable TLS channel ID by default. (for merging to branch) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "net/base/ssl_config_service.h" 5 #include "net/base/ssl_config_service.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/synchronization/lock.h" 9 #include "base/synchronization/lock.h"
10 #include "net/base/crl_set.h" 10 #include "net/base/crl_set.h"
(...skipping 20 matching lines...) Expand all
31 31
32 SSLConfig::CertAndStatus::CertAndStatus() : cert_status(0) {} 32 SSLConfig::CertAndStatus::CertAndStatus() : cert_status(0) {}
33 33
34 SSLConfig::CertAndStatus::~CertAndStatus() {} 34 SSLConfig::CertAndStatus::~CertAndStatus() {}
35 35
36 SSLConfig::SSLConfig() 36 SSLConfig::SSLConfig()
37 : rev_checking_enabled(false), 37 : rev_checking_enabled(false),
38 version_min(g_default_version_min), 38 version_min(g_default_version_min),
39 version_max(g_default_version_max), 39 version_max(g_default_version_max),
40 cached_info_enabled(false), 40 cached_info_enabled(false),
41 channel_id_enabled(false), 41 channel_id_enabled(true),
42 false_start_enabled(true), 42 false_start_enabled(true),
43 send_client_cert(false), 43 send_client_cert(false),
44 verify_ev_cert(false), 44 verify_ev_cert(false),
45 version_fallback(false), 45 version_fallback(false),
46 cert_io_enabled(true) { 46 cert_io_enabled(true) {
47 } 47 }
48 48
49 SSLConfig::~SSLConfig() { 49 SSLConfig::~SSLConfig() {
50 } 50 }
51 51
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 bool SSLConfigService::IsSNIAvailable(SSLConfigService* service) { 167 bool SSLConfigService::IsSNIAvailable(SSLConfigService* service) {
168 if (!service) 168 if (!service)
169 return false; 169 return false;
170 170
171 SSLConfig ssl_config; 171 SSLConfig ssl_config;
172 service->GetSSLConfig(&ssl_config); 172 service->GetSSLConfig(&ssl_config);
173 return ssl_config.version_max >= SSL_PROTOCOL_VERSION_TLS1; 173 return ssl_config.version_max >= SSL_PROTOCOL_VERSION_TLS1;
174 } 174 }
175 175
176 } // namespace net 176 } // namespace net
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698