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

Unified Diff: net/http/http_network_transaction.cc

Issue 2496953002: Revert of Unify enum NextProto and enum AlternateProtocol. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.cc
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index a8a7d1ae7b7f0792c3f2795f62676f862ce8457e..3d39fd6e139736aec6f28279d497fe901c4a2468 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -55,8 +55,9 @@
#include "net/log/net_log_event_type.h"
#include "net/proxy/proxy_server.h"
#include "net/socket/client_socket_factory.h"
-#include "net/socket/next_proto.h"
#include "net/socket/socks_client_socket_pool.h"
+#include "net/socket/ssl_client_socket.h"
+#include "net/socket/ssl_client_socket_pool.h"
#include "net/socket/transport_client_socket_pool.h"
#include "net/spdy/spdy_http_stream.h"
#include "net/spdy/spdy_session.h"
@@ -471,8 +472,8 @@
server_ssl_config_ = used_ssl_config;
proxy_info_ = used_proxy_info;
response_.was_alpn_negotiated = stream_request_->was_alpn_negotiated();
- response_.alpn_negotiated_protocol =
- NextProtoToString(stream_request_->negotiated_protocol());
+ 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();
if (response_.was_fetched_via_proxy && !proxy_info_.is_empty())
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698