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

Unified Diff: net/ssl/ssl_config_service.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: Re-implementation Created 5 years, 11 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
Index: net/ssl/ssl_config_service.h
diff --git a/net/ssl/ssl_config_service.h b/net/ssl/ssl_config_service.h
index e074309ffac1f7c4407134367e4591a19893eff4..c4704e5e2375341ffe369b00a296c1500340b52e 100644
--- a/net/ssl/ssl_config_service.h
+++ b/net/ssl/ssl_config_service.h
@@ -16,6 +16,8 @@
namespace net {
+class HostPortPair;
+
// The interface for retrieving the SSL configuration. This interface
// does not cover setting the SSL configuration, as on some systems, the
// SSLConfigService objects may not have direct access to the configuration, or
@@ -66,6 +68,9 @@ class NET_EXPORT SSLConfigService
// called on the IO thread.
void NotifySSLConfigChange();
+ // Returns true if the |host_and_port| should use fastradio padding.
+ virtual bool SupportsFastradioPadding(const HostPortPair& host_and_port);
+
protected:
friend class base::RefCountedThreadSafe<SSLConfigService>;
« net/ssl/ssl_config.h ('K') | « net/ssl/ssl_config.cc ('k') | net/ssl/ssl_config_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698