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

Unified Diff: jingle/notifier/base/chrome_async_socket.cc

Issue 7014009: Pass net_log parameter properly for ProxyResolvingClientSocket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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: jingle/notifier/base/chrome_async_socket.cc
diff --git a/jingle/notifier/base/chrome_async_socket.cc b/jingle/notifier/base/chrome_async_socket.cc
index c6d729f026be7a4e9cf27c6cee4757f1a0538d32..27f13a56c3cc8766a30a01dcaae3f3bfc677f8c7 100644
--- a/jingle/notifier/base/chrome_async_socket.cc
+++ b/jingle/notifier/base/chrome_async_socket.cc
@@ -30,8 +30,7 @@ namespace notifier {
ChromeAsyncSocket::ChromeAsyncSocket(
ResolvingClientSocketFactory* client_socket_factory,
size_t read_buf_size,
- size_t write_buf_size,
- net::NetLog* net_log)
+ size_t write_buf_size)
: connect_callback_(ALLOW_THIS_IN_INITIALIZER_LIST(this),
&ChromeAsyncSocket::ProcessConnectDone),
read_callback_(ALLOW_THIS_IN_INITIALIZER_LIST(this),
@@ -41,8 +40,6 @@ ChromeAsyncSocket::ChromeAsyncSocket(
ssl_connect_callback_(ALLOW_THIS_IN_INITIALIZER_LIST(this),
&ChromeAsyncSocket::ProcessSSLConnectDone),
client_socket_factory_(client_socket_factory),
- bound_net_log_(
- net::BoundNetLog::Make(net_log, net::NetLog::SOURCE_SOCKET)),
state_(STATE_CLOSED),
error_(ERROR_NONE),
net_error_(net::OK),
@@ -122,7 +119,7 @@ bool ChromeAsyncSocket::Connect(const talk_base::SocketAddress& address) {
transport_socket_.reset(
client_socket_factory_->CreateTransportClientSocket(
- dest_host_port_pair, bound_net_log_.net_log()));
+ dest_host_port_pair));
int status = transport_socket_->Connect(&connect_callback_);
if (status != net::ERR_IO_PENDING) {
// We defer execution of ProcessConnectDone instead of calling it

Powered by Google App Engine
This is Rietveld 408576698