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 52dcb1d1c6bd1e3e7b8559378feb621bd0bf1678..9b9ce555640d1910b95b709a58449d3d4d28328b 100644 |
--- a/net/spdy/spdy_proxy_client_socket.cc |
+++ b/net/spdy/spdy_proxy_client_socket.cc |
@@ -25,7 +25,6 @@ |
#include "net/http/http_response_headers.h" |
#include "net/http/proxy_connect_redirect_http_stream.h" |
#include "net/log/net_log_event_type.h" |
-#include "net/log/net_log_source.h" |
#include "net/log/net_log_source_type.h" |
#include "net/spdy/spdy_http_utils.h" |
#include "url/gurl.h" |
@@ -50,6 +49,7 @@ SpdyProxyClientSocket::SpdyProxyClientSocket( |
redirect_has_load_timing_info_(false), |
net_log_(NetLogWithSource::Make(spdy_stream->net_log().net_log(), |
NetLogSourceType::PROXY_CLIENT_SOCKET)), |
+ source_dependency_(source_net_log.source()), |
weak_factory_(this), |
write_callback_weak_factory_(this) { |
request_.method = "CONNECT"; |
@@ -527,4 +527,8 @@ void SpdyProxyClientSocket::OnClose(int status) { |
write_callback.Run(ERR_CONNECTION_CLOSED); |
} |
+NetLogSource SpdyProxyClientSocket::source_dependency() const { |
+ return source_dependency_; |
+} |
+ |
} // namespace net |