Index: net/http/http_stream_parser.cc |
diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc |
index 766ebd3f34332cb5fc408f957120640950667ec4..bf5a41aa6de84dfc67b6606f942dac653b26507d 100644 |
--- a/net/http/http_stream_parser.cc |
+++ b/net/http/http_stream_parser.cc |
@@ -1165,15 +1165,16 @@ void HttpStreamParser::GetSSLCertRequestInfo( |
} |
} |
-Error HttpStreamParser::GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, |
- std::vector<uint8_t>* out) { |
+Error HttpStreamParser::GetTokenBindingSignature(crypto::ECPrivateKey* key, |
+ TokenBindingType tb_type, |
+ std::vector<uint8_t>* out) { |
if (!request_->url.SchemeIsCryptographic() || !connection_->socket()) { |
NOTREACHED(); |
return ERR_FAILED; |
} |
SSLClientSocket* ssl_socket = |
static_cast<SSLClientSocket*>(connection_->socket()); |
- return ssl_socket->GetSignedEKMForTokenBinding(key, out); |
+ return ssl_socket->GetTokenBindingSignature(key, tb_type, out); |
} |
int HttpStreamParser::EncodeChunk(const base::StringPiece& payload, |