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

Unified Diff: net/http/http_proxy_client_socket_wrapper.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/http/http_proxy_client_socket_wrapper.cc
diff --git a/net/http/http_proxy_client_socket_wrapper.cc b/net/http/http_proxy_client_socket_wrapper.cc
index 5f8c937ec6e4dbffc5d25bb81e1bb8ec7269650d..0d299c8114362dd858bf08b4d778c2f6b586083a 100644
--- a/net/http/http_proxy_client_socket_wrapper.cc
+++ b/net/http/http_proxy_client_socket_wrapper.cc
@@ -44,7 +44,7 @@ HttpProxyClientSocketWrapper::HttpProxyClientSocketWrapper(
SpdySessionPool* spdy_session_pool,
bool tunnel,
ProxyDelegate* proxy_delegate,
- const BoundNetLog& net_log)
+ const NetLogWithSource& net_log)
: next_state_(STATE_NONE),
group_name_(group_name),
priority_(priority),
@@ -69,9 +69,9 @@ HttpProxyClientSocketWrapper::HttpProxyClientSocketWrapper(
http_auth_cache,
http_auth_handler_factory)
: nullptr),
- net_log_(
- BoundNetLog::Make(net_log.net_log(),
- NetLogSourceType::PROXY_CLIENT_SOCKET_WRAPPER)) {
+ net_log_(NetLogWithSource::Make(
+ net_log.net_log(),
+ NetLogSourceType::PROXY_CLIENT_SOCKET_WRAPPER)) {
net_log_.BeginEvent(NetLogEventType::SOCKET_ALIVE,
net_log.source().ToEventParametersCallback());
DCHECK(transport_params || ssl_params);
@@ -207,7 +207,7 @@ bool HttpProxyClientSocketWrapper::IsConnectedAndIdle() const {
return false;
}
-const BoundNetLog& HttpProxyClientSocketWrapper::NetLog() const {
+const NetLogWithSource& HttpProxyClientSocketWrapper::NetLog() const {
return net_log_;
}

Powered by Google App Engine
This is Rietveld 408576698