diff options
Diffstat (limited to 'net/socket/tcp_client_socket_win.h')
-rw-r--r-- | net/socket/tcp_client_socket_win.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/socket/tcp_client_socket_win.h b/net/socket/tcp_client_socket_win.h index 128b72e..7e4eb8f 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. |