Index: net/spdy/spdy_session.h |
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h |
index 0e0d08b80fc42af857c97763832f1a7e30fa4dcb..f9ce0cb48177b9586288d004ef435ff6d20dcb20 100644 |
--- a/net/spdy/spdy_session.h |
+++ b/net/spdy/spdy_session.h |
@@ -415,10 +415,12 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface, |
// Returns the protocol negotiated via ALPN for the underlying socket. |
NextProto GetNegotiatedProtocol() const; |
- // Signs the EKM value for Token Binding from the TLS layer using |*key| and |
- // puts the result in |*out|. Returns OK or ERR_FAILED. |
- Error GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, |
- std::vector<uint8_t>* out); |
+ // Generates the signature used in Token Binding using |*key| and for a Token |
+ // Binding of type |tb_type|, putting the signature in |*out|. Returns a net |
+ // error code of OK or ERR_FAILED. |
+ Error GetTokenBindingSignature(crypto::ECPrivateKey* key, |
+ TokenBindingType tb_type, |
+ std::vector<uint8_t>* out); |
// Send a WINDOW_UPDATE frame for a stream. Called by a stream |
// whenever receive window size is increased. |