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

Unified Diff: net/websockets/websocket_basic_handshake_stream.h

Issue 1378613004: Set Token-Binding HTTP header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tb-tls-ext-new
Patch Set: Add UMA logging of Token Binding support and NetLog event for Token Binding key lookup Created 5 years, 1 month 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/websockets/websocket_basic_handshake_stream.h
diff --git a/net/websockets/websocket_basic_handshake_stream.h b/net/websockets/websocket_basic_handshake_stream.h
index 41cba37b004de9ca3e103b3500861c5413f42ae4..8a2af2ca7d7dbfe69cc26924d92326e7a631f76b 100644
--- a/net/websockets/websocket_basic_handshake_stream.h
+++ b/net/websockets/websocket_basic_handshake_stream.h
@@ -64,6 +64,9 @@ class NET_EXPORT_PRIVATE WebSocketBasicHandshakeStream
void GetSSLInfo(SSLInfo* ssl_info) override;
void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override;
bool GetRemoteEndpoint(IPEndPoint* endpoint) override;
+ int GetProvidedTokenBindingWithKey(
+ const scoped_ptr<crypto::ECPrivateKey>& key,
+ std::string* header_out) override;
void Drain(HttpNetworkSession* session) override;
void SetPriority(RequestPriority priority) override;
UploadProgress GetUploadProgress() const override;

Powered by Google App Engine
This is Rietveld 408576698