Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: net/socket/tcp_listen_socket_unittest.h

Issue 19625002: Use a direct include of the message_loop header in net/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/socket/tcp_client_socket_libevent.cc ('k') | net/socket/tcp_server_socket_libevent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_BASE_LISTEN_SOCKET_UNITTEST_H_ 5 #ifndef NET_BASE_LISTEN_SOCKET_UNITTEST_H_
6 #define NET_BASE_LISTEN_SOCKET_UNITTEST_H_ 6 #define NET_BASE_LISTEN_SOCKET_UNITTEST_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
11 #include <winsock2.h> 11 #include <winsock2.h>
12 #elif defined(OS_POSIX) 12 #elif defined(OS_POSIX)
13 #include <arpa/inet.h> 13 #include <arpa/inet.h>
14 #include <errno.h> 14 #include <errno.h>
15 #include <sys/socket.h> 15 #include <sys/socket.h>
16 #endif 16 #endif
17 17
18 #include "base/basictypes.h" 18 #include "base/basictypes.h"
19 #include "base/memory/ref_counted.h" 19 #include "base/memory/ref_counted.h"
20 #include "base/memory/scoped_ptr.h" 20 #include "base/memory/scoped_ptr.h"
21 #include "base/message_loop.h" 21 #include "base/message_loop/message_loop.h"
22 #include "base/strings/string_util.h" 22 #include "base/strings/string_util.h"
23 #include "base/synchronization/condition_variable.h" 23 #include "base/synchronization/condition_variable.h"
24 #include "base/synchronization/lock.h" 24 #include "base/synchronization/lock.h"
25 #include "base/threading/thread.h" 25 #include "base/threading/thread.h"
26 #include "net/base/net_util.h" 26 #include "net/base/net_util.h"
27 #include "net/base/winsock_init.h" 27 #include "net/base/winsock_init.h"
28 #include "net/socket/tcp_listen_socket.h" 28 #include "net/socket/tcp_listen_socket.h"
29 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
30 30
31 namespace net { 31 namespace net {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 friend class base::RefCountedThreadSafe<TCPListenSocketTester>; 113 friend class base::RefCountedThreadSafe<TCPListenSocketTester>;
114 114
115 virtual ~TCPListenSocketTester(); 115 virtual ~TCPListenSocketTester();
116 116
117 virtual scoped_refptr<TCPListenSocket> DoListen(); 117 virtual scoped_refptr<TCPListenSocket> DoListen();
118 }; 118 };
119 119
120 } // namespace net 120 } // namespace net
121 121
122 #endif // NET_BASE_LISTEN_SOCKET_UNITTEST_H_ 122 #endif // NET_BASE_LISTEN_SOCKET_UNITTEST_H_
OLDNEW
« no previous file with comments | « net/socket/tcp_client_socket_libevent.cc ('k') | net/socket/tcp_server_socket_libevent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698