Index: net/socket/tcp_client_socket_win.h |
diff --git a/net/socket/tcp_client_socket_win.h b/net/socket/tcp_client_socket_win.h |
index 128b72e1add6cfa584ffe63669a56f432ef0eb5f..7e4eb8f07534771ecda191a59795b54b2bbf67cc 100644 |
--- a/net/socket/tcp_client_socket_win.h |
+++ b/net/socket/tcp_client_socket_win.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. |
@@ -22,16 +22,17 @@ class TCPClientSocketWin : 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 TCPClientSocketWin(const AddressList& addresses); |
+ TCPClientSocketWin(const AddressList& addresses, net::NetLog* net_log); |
~TCPClientSocketWin(); |
// 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. |