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

Side by Side Diff: net/ssl/ssl_config.h

Issue 869393005: Perform ClientHello padding if the field trial is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@net_connection_error_uma
Patch Set: CR updates Created 5 years, 10 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
OLDNEW
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
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.
jeremyim 2015/02/03 05:42:47 There are two bools here to capture 3 states we ca
168 bool enable_fastradio_padding;
169 bool fastradio_padding_eligible;
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698