diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-19 22:17:08 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-19 22:17:08 +0000 |
commit | 94f808c3eaa95d3bc66be0c7caa66f37d9e0cbae (patch) | |
tree | ebc3916995102d43a2c60b9d8158fe362a37a77b /net/socket/tcp_client_socket_libevent.h | |
parent | 564261db36338330d9b4b046e4a386b6e99ba10a (diff) | |
download | chromium_src-94f808c3eaa95d3bc66be0c7caa66f37d9e0cbae.zip chromium_src-94f808c3eaa95d3bc66be0c7caa66f37d9e0cbae.tar.gz chromium_src-94f808c3eaa95d3bc66be0c7caa66f37d9e0cbae.tar.bz2 |
Make TCPClientSocket* inherit from NonThreadSafe.
Review URL: http://codereview.chromium.org/2108022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47735 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/tcp_client_socket_libevent.h')
-rw-r--r-- | net/socket/tcp_client_socket_libevent.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/socket/tcp_client_socket_libevent.h b/net/socket/tcp_client_socket_libevent.h index 6186159..48557d0 100644 --- a/net/socket/tcp_client_socket_libevent.h +++ b/net/socket/tcp_client_socket_libevent.h @@ -6,6 +6,7 @@ #define NET_SOCKET_TCP_CLIENT_SOCKET_LIBEVENT_H_ #include "base/message_loop.h" +#include "base/non_thread_safe.h" #include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "net/base/address_list.h" @@ -20,7 +21,7 @@ namespace net { class BoundNetLog; // A client socket that uses TCP as the transport layer. -class TCPClientSocketLibevent : public ClientSocket { +class TCPClientSocketLibevent : public ClientSocket, NonThreadSafe { public: // 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 |