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

Unified Diff: net/socket/ssl_client_socket.h

Issue 2192053002: Metric & meta-metric for CECPQ1 handshake latency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 years, 5 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 | « no previous file | net/socket/ssl_client_socket.cc » ('j') | net/socket/ssl_client_socket.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket.h
diff --git a/net/socket/ssl_client_socket.h b/net/socket/ssl_client_socket.h
index 494c6cbf4a6a43abcf6466bbbe394af8ff47fcfc..be3e47efe22e5e2a579f1723b5d726c0d9b29822 100644
--- a/net/socket/ssl_client_socket.h
+++ b/net/socket/ssl_client_socket.h
@@ -151,6 +151,10 @@ class NET_EXPORT SSLClientSocket : public SSLSocket {
// establishing the connection (or NULL if no channel ID was used).
virtual crypto::ECPrivateKey* GetChannelIDKey() const = 0;
+ // Returns true if the CECPQ1 (experimental post-quantum) experiment is
+ // enabled.
+ static bool IsPostQuantumExperimentEnabled();
+
protected:
void set_negotiation_extension(
SSLNegotiationExtension negotiation_extension) {
« no previous file with comments | « no previous file | net/socket/ssl_client_socket.cc » ('j') | net/socket/ssl_client_socket.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698