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

Unified Diff: net/spdy/spdy_proxy_client_socket.cc

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ 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/spdy/spdy_proxy_client_socket.cc
diff --git a/net/spdy/spdy_proxy_client_socket.cc b/net/spdy/spdy_proxy_client_socket.cc
index dd0e6b784d9b89bed1b81a1c4a8465e728036880..dc819c1e2872ab467d0a16d41f627b1f2e59f1bf 100644
--- a/net/spdy/spdy_proxy_client_socket.cc
+++ b/net/spdy/spdy_proxy_client_socket.cc
@@ -35,7 +35,7 @@ SpdyProxyClientSocket::SpdyProxyClientSocket(
const std::string& user_agent,
const HostPortPair& endpoint,
const HostPortPair& proxy_server,
- const BoundNetLog& source_net_log,
+ const NetLogWithSource& source_net_log,
HttpAuthController* auth_controller)
: next_state_(STATE_DISCONNECTED),
spdy_stream_(spdy_stream),
@@ -46,8 +46,8 @@ SpdyProxyClientSocket::SpdyProxyClientSocket(
write_buffer_len_(0),
was_ever_used_(false),
redirect_has_load_timing_info_(false),
- net_log_(BoundNetLog::Make(spdy_stream->net_log().net_log(),
- NetLogSourceType::PROXY_CLIENT_SOCKET)),
+ net_log_(NetLogWithSource::Make(spdy_stream->net_log().net_log(),
+ NetLogSourceType::PROXY_CLIENT_SOCKET)),
weak_factory_(this),
write_callback_weak_factory_(this) {
request_.method = "CONNECT";
@@ -150,7 +150,7 @@ bool SpdyProxyClientSocket::IsConnectedAndIdle() const {
spdy_stream_->IsOpen();
}
-const BoundNetLog& SpdyProxyClientSocket::NetLog() const {
+const NetLogWithSource& SpdyProxyClientSocket::NetLog() const {
return net_log_;
}

Powered by Google App Engine
This is Rietveld 408576698