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

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

Issue 10014010: net: False Start only for NPN capable servers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/base/ssl_config_service.cc » ('j') | net/socket/ssl_client_socket_nss.h » ('J')
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 #ifndef NET_BASE_SSL_CONFIG_SERVICE_H_ 5 #ifndef NET_BASE_SSL_CONFIG_SERVICE_H_
6 #define NET_BASE_SSL_CONFIG_SERVICE_H_ 6 #define NET_BASE_SSL_CONFIG_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 protected: 139 protected:
140 virtual ~Observer() {} 140 virtual ~Observer() {}
141 }; 141 };
142 142
143 SSLConfigService(); 143 SSLConfigService();
144 144
145 // May not be thread-safe, should only be called on the IO thread. 145 // May not be thread-safe, should only be called on the IO thread.
146 virtual void GetSSLConfig(SSLConfig* config) = 0; 146 virtual void GetSSLConfig(SSLConfig* config) = 0;
147 147
148 // Returns true if the given hostname is known to be incompatible with TLS
149 // False Start.
150 static bool IsKnownFalseStartIncompatibleServer(const std::string& hostname);
151
152 // Sets and gets the current, global CRL set. 148 // Sets and gets the current, global CRL set.
153 static void SetCRLSet(scoped_refptr<CRLSet> crl_set); 149 static void SetCRLSet(scoped_refptr<CRLSet> crl_set);
154 static scoped_refptr<CRLSet> GetCRLSet(); 150 static scoped_refptr<CRLSet> GetCRLSet();
155 151
156 // Enables the TLS cached info extension, which allows the server to send 152 // Enables the TLS cached info extension, which allows the server to send
157 // just a digest of its certificate chain. 153 // just a digest of its certificate chain.
158 static void EnableCachedInfo(); 154 static void EnableCachedInfo();
159 static bool cached_info_enabled(); 155 static bool cached_info_enabled();
160 156
161 // Is SNI available in this configuration? 157 // Is SNI available in this configuration?
(...skipping 17 matching lines...) Expand all
179 void ProcessConfigUpdate(const SSLConfig& orig_config, 175 void ProcessConfigUpdate(const SSLConfig& orig_config,
180 const SSLConfig& new_config); 176 const SSLConfig& new_config);
181 177
182 private: 178 private:
183 ObserverList<Observer> observer_list_; 179 ObserverList<Observer> observer_list_;
184 }; 180 };
185 181
186 } // namespace net 182 } // namespace net
187 183
188 #endif // NET_BASE_SSL_CONFIG_SERVICE_H_ 184 #endif // NET_BASE_SSL_CONFIG_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | net/base/ssl_config_service.cc » ('j') | net/socket/ssl_client_socket_nss.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698