| 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   // |fastradio_padding_enabled| determines if the feature is enabled globally. | 
|  | 165   // |fastradio_padding_eligible| determines if the endpoint associated with | 
|  | 166   // this config should use it. | 
|  | 167   // |fastradio_padding_eligible| can be true when |fastradio_padding_enabled| | 
|  | 168   // is false: in this case, fastradio padding would not be enabled, but | 
|  | 169   // metrics can be collected for experiments. | 
|  | 170   bool fastradio_padding_enabled; | 
|  | 171   bool fastradio_padding_eligible; | 
| 162 }; | 172 }; | 
| 163 | 173 | 
| 164 }  // namespace net | 174 }  // namespace net | 
| 165 | 175 | 
| 166 #endif  // NET_SSL_SSL_CONFIG_H_ | 176 #endif  // NET_SSL_SSL_CONFIG_H_ | 
| OLD | NEW | 
|---|