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

Unified 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 update 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/ssl_client_socket_pool.cc ('k') | net/ssl/ssl_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_config.h
diff --git a/net/ssl/ssl_config.h b/net/ssl/ssl_config.h
index 2cbc99568bc170877a45514cffa3d5f771e773b3..c3dc9b9fef25ad6b27ec452a2327f14063499d59 100644
--- a/net/ssl/ssl_config.h
+++ b/net/ssl/ssl_config.h
@@ -159,6 +159,16 @@ struct NET_EXPORT SSLConfig {
NextProtoVector next_protos;
scoped_refptr<X509Certificate> client_cert;
+
+ // Information about how to proceed with fastradio padding.
+ // |fastradio_padding_enabled| determines if the feature is enabled globally.
+ // |fastradio_padding_eligible| determines if the endpoint associated with
+ // this config should use it.
+ // |fastradio_padding_eligible| can be true when |fastradio_padding_enabled|
+ // is false: in this case, fastradio padding would not be enabled, but
+ // metrics can be collected for experiments.
+ bool fastradio_padding_enabled;
+ bool fastradio_padding_eligible;
};
} // namespace net
« no previous file with comments | « net/socket/ssl_client_socket_pool.cc ('k') | net/ssl/ssl_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698