Index: net/http/http_network_transaction.cc |
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc |
index e29b01d43e23a9c2f99c2bf647a483e891c25022..32aa872a96e32c90fce7abc17386e88ef57c45c1 100644 |
--- a/net/http/http_network_transaction.cc |
+++ b/net/http/http_network_transaction.cc |
@@ -610,7 +610,7 @@ bool HttpNetworkTransaction::IsTokenBindingEnabled() const { |
stream_->GetSSLInfo(&ssl_info); |
return ssl_info.token_binding_negotiated && |
ssl_info.token_binding_key_param == TB_PARAM_ECDSAP256 && |
- session_->params().channel_id_service; |
+ session_->context().channel_id_service; |
} |
void HttpNetworkTransaction::RecordTokenBindingSupport() const { |
@@ -628,7 +628,7 @@ void HttpNetworkTransaction::RecordTokenBindingSupport() const { |
stream_->GetSSLInfo(&ssl_info); |
if (!session_->params().enable_token_binding) { |
supported = DISABLED; |
- } else if (!session_->params().channel_id_service) { |
+ } else if (!session_->context().channel_id_service) { |
supported = CLIENT_NO_CHANNEL_ID_SERVICE; |
} else if (ssl_info.token_binding_negotiated) { |
supported = CLIENT_AND_SERVER; |
@@ -969,7 +969,7 @@ int HttpNetworkTransaction::DoGetProvidedTokenBindingKey() { |
return OK; |
net_log_.BeginEvent(NetLogEventType::HTTP_TRANSACTION_GET_TOKEN_BINDING_KEY); |
- ChannelIDService* channel_id_service = session_->params().channel_id_service; |
+ ChannelIDService* channel_id_service = session_->context().channel_id_service; |
return channel_id_service->GetOrCreateChannelID( |
request_->url.host(), &provided_token_binding_key_, io_callback_, |
&token_binding_request_); |
@@ -993,7 +993,7 @@ int HttpNetworkTransaction::DoGetReferredTokenBindingKey() { |
return OK; |
net_log_.BeginEvent(NetLogEventType::HTTP_TRANSACTION_GET_TOKEN_BINDING_KEY); |
- ChannelIDService* channel_id_service = session_->params().channel_id_service; |
+ ChannelIDService* channel_id_service = session_->context().channel_id_service; |
return channel_id_service->GetOrCreateChannelID( |
request_->token_binding_referrer, &referred_token_binding_key_, |
io_callback_, &token_binding_request_); |