| Index: net/http/http_stream_parser.cc
|
| diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc
|
| index 31681edb8200e547c7e07eab3c2ad372d8e91d9d..e5fab2d12ad8824fa74a475526e4abf2b44eb7e9 100644
|
| --- a/net/http/http_stream_parser.cc
|
| +++ b/net/http/http_stream_parser.cc
|
| @@ -1173,15 +1173,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,
|
|
|