Index: net/socket/tcp_client_socket_libevent.h |
diff --git a/net/socket/tcp_client_socket_libevent.h b/net/socket/tcp_client_socket_libevent.h |
index 211149ad088f63177551864640d6b6d4904d5276..699ddc71b75a7482cd9f9c640a67d50130c40056 100644 |
--- a/net/socket/tcp_client_socket_libevent.h |
+++ b/net/socket/tcp_client_socket_libevent.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -25,16 +25,18 @@ class TCPClientSocketLibevent : public ClientSocket { |
// The IP address(es) and port number to connect to. The TCP socket will try |
// each IP address in the list until it succeeds in establishing a |
// connection. |
- explicit TCPClientSocketLibevent(const AddressList& addresses); |
+ explicit TCPClientSocketLibevent(const AddressList& addresses, |
+ net::NetLog* net_log); |
virtual ~TCPClientSocketLibevent(); |
// ClientSocket methods: |
- virtual int Connect(CompletionCallback* callback, const BoundNetLog& net_log); |
+ virtual int Connect(CompletionCallback* callback); |
virtual void Disconnect(); |
virtual bool IsConnected() const; |
virtual bool IsConnectedAndIdle() const; |
virtual int GetPeerAddress(AddressList* address) const; |
+ virtual const BoundNetLog& NetLog() const { return net_log_; } |
// Socket methods: |
// Multiple outstanding requests are not supported. |