summaryrefslogtreecommitdiffstats
path: root/net/socket/socks5_client_socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/socks5_client_socket.h')
-rw-r--r--net/socket/socks5_client_socket.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/socket/socks5_client_socket.h b/net/socket/socks5_client_socket.h
index 629180a..ae3ef76 100644
--- a/net/socket/socks5_client_socket.h
+++ b/net/socket/socks5_client_socket.h
@@ -15,12 +15,13 @@
#include "net/base/completion_callback.h"
#include "net/base/host_resolver.h"
#include "net/base/net_errors.h"
+#include "net/base/net_log.h"
#include "net/socket/client_socket.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
namespace net {
-class LoadLog;
+class BoundNetLog;
// This ClientSocket is used to setup a SOCKSv5 handshake with a socks proxy.
// Currently no SOCKSv5 authentication is supported.
@@ -44,7 +45,7 @@ class SOCKS5ClientSocket : public ClientSocket {
// ClientSocket methods:
// Does the SOCKS handshake and completes the protocol.
- virtual int Connect(CompletionCallback* callback, LoadLog* load_log);
+ virtual int Connect(CompletionCallback* callback, const BoundNetLog& net_log);
virtual void Disconnect();
virtual bool IsConnected() const;
virtual bool IsConnectedAndIdle() const;
@@ -133,7 +134,7 @@ class SOCKS5ClientSocket : public ClientSocket {
HostResolver::RequestInfo host_request_info_;
- scoped_refptr<LoadLog> load_log_;
+ BoundNetLog net_log_;
DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket);
};