summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_client_socket_win.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-19 22:17:08 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-19 22:17:08 +0000
commit94f808c3eaa95d3bc66be0c7caa66f37d9e0cbae (patch)
treeebc3916995102d43a2c60b9d8158fe362a37a77b /net/socket/tcp_client_socket_win.h
parent564261db36338330d9b4b046e4a386b6e99ba10a (diff)
downloadchromium_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_win.h')
-rw-r--r--net/socket/tcp_client_socket_win.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/socket/tcp_client_socket_win.h b/net/socket/tcp_client_socket_win.h
index 7e4eb8f..d1a2148 100644
--- a/net/socket/tcp_client_socket_win.h
+++ b/net/socket/tcp_client_socket_win.h
@@ -7,6 +7,7 @@
#include <winsock2.h>
+#include "base/non_thread_safe.h"
#include "base/object_watcher.h"
#include "net/base/address_list.h"
#include "net/base/completion_callback.h"
@@ -17,7 +18,7 @@ namespace net {
class BoundNetLog;
-class TCPClientSocketWin : public ClientSocket {
+class TCPClientSocketWin : 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