Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1106)

Unified Diff: net/http/http_network_transaction.cc

Issue 2347163002: s/NPN/ALPN/ (Closed)
Patch Set: s/ERR_NPN_NEGOTIATION_FAILED/ERR_ALPN_NEGOTIATION_FAILED/ Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_network_transaction.cc
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index 1e2ffcf64499f18c5c3cb73f3e010097cfea17e5..9421fec44917372263e07c43f63c889e2f482d8a 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -457,8 +457,8 @@ void HttpNetworkTransaction::OnStreamReady(const SSLConfig& used_ssl_config,
stream_.reset(stream);
server_ssl_config_ = used_ssl_config;
proxy_info_ = used_proxy_info;
- response_.was_npn_negotiated = stream_request_->was_npn_negotiated();
- response_.npn_negotiated_protocol = SSLClientSocket::NextProtoToString(
+ response_.was_alpn_negotiated = stream_request_->was_alpn_negotiated();
+ response_.alpn_negotiated_protocol = SSLClientSocket::NextProtoToString(
stream_request_->negotiated_protocol());
response_.was_fetched_via_spdy = stream_request_->using_spdy();
response_.was_fetched_via_proxy = !proxy_info_.is_direct();

Powered by Google App Engine
This is Rietveld 408576698