Index: net/http/http_stream.h |
diff --git a/net/http/http_stream.h b/net/http/http_stream.h |
index 1febd11ae9526972c51b65502c29a2d933b6df98..92a8ad302b74dfb1fc54317a5189359684f04673 100644 |
--- a/net/http/http_stream.h |
+++ b/net/http/http_stream.h |
@@ -150,6 +150,12 @@ class NET_EXPORT_PRIVATE HttpStream { |
// and does not modify |endpoint| if it is unavailable. |
virtual bool GetRemoteEndpoint(IPEndPoint* endpoint) = 0; |
+ // Puts the TokenBindingMessage for the SSL connection in |out|. If this |
+ // stream's connection is not over an SSL socket, or token binding was not |
+ // negotiated for this connection, then |*out| will be set to the empty |
+ // string. |
mattm
2015/10/01 01:53:01
document return value
nharper
2015/10/01 20:25:46
Done.
|
+ virtual int GetTokenBindingMessageHeader(std::string* out) = 0; |
+ |
// In the case of an HTTP error or redirect, flush the response body (usually |
// a simple error or "this page has moved") so that we can re-use the |
// underlying connection. This stream is responsible for deleting itself when |