OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SSL_SSL_CONFIG_H_ | 5 #ifndef NET_SSL_SSL_CONFIG_H_ |
6 #define NET_SSL_SSL_CONFIG_H_ | 6 #define NET_SSL_SSL_CONFIG_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
152 | 152 |
153 // The list of application level protocols supported. If set, this will | 153 // The list of application level protocols supported. If set, this will |
154 // enable Next Protocol Negotiation (if supported). The order of the | 154 // enable Next Protocol Negotiation (if supported). The order of the |
155 // protocols doesn't matter expect for one case: if the server supports Next | 155 // protocols doesn't matter expect for one case: if the server supports Next |
156 // Protocol Negotiation, but there is no overlap between the server's and | 156 // Protocol Negotiation, but there is no overlap between the server's and |
157 // client's protocol sets, then the first protocol in this list will be | 157 // client's protocol sets, then the first protocol in this list will be |
158 // requested by the client. | 158 // requested by the client. |
159 NextProtoVector next_protos; | 159 NextProtoVector next_protos; |
160 | 160 |
161 scoped_refptr<X509Certificate> client_cert; | 161 scoped_refptr<X509Certificate> client_cert; |
162 | |
163 // Information about how to proceed with fastradio padding. | |
164 // |enable_fastradio_padding| determines if the feature is enabled globally; | |
165 // |fastradio_padding_eligible| determines if a given endpoint should use it. | |
166 // |fastradio_padding_eligible| can be true when |enable_fastradio_padding| is | |
167 // false - in that case, fastradio padding will not be used. | |
168 bool enable_fastradio_padding; | |
169 bool fastradio_padding_eligible; | |
Ryan Sleevi
2015/02/03 00:33:47
Why would/should |enable_fastradio_padding| be nee
| |
162 }; | 170 }; |
163 | 171 |
164 } // namespace net | 172 } // namespace net |
165 | 173 |
166 #endif // NET_SSL_SSL_CONFIG_H_ | 174 #endif // NET_SSL_SSL_CONFIG_H_ |
OLD | NEW |