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

Side by Side Diff: net/base/listen_socket_unittest.h

Issue 43148: Remove unneeded uses of logging.h in header files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <sys/socket.h> 13 #include <sys/socket.h>
14 #include <errno.h> 14 #include <errno.h>
15 #include <semaphore.h> 15 #include <semaphore.h>
16 #include <arpa/inet.h> 16 #include <arpa/inet.h>
17 #endif 17 #endif
18 18
19 #include "base/thread.h" 19 #include "base/thread.h"
20 #include "base/basictypes.h" 20 #include "base/basictypes.h"
21 #include "base/logging.h"
22 #include "base/message_loop.h" 21 #include "base/message_loop.h"
23 #include "base/string_util.h" 22 #include "base/string_util.h"
24 #include "base/thread.h" 23 #include "base/thread.h"
25 #include "net/base/net_util.h" 24 #include "net/base/net_util.h"
26 #include "net/base/listen_socket.h" 25 #include "net/base/listen_socket.h"
27 #include "net/base/winsock_init.h" 26 #include "net/base/winsock_init.h"
28 #include "testing/gtest/include/gtest/gtest.h" 27 #include "testing/gtest/include/gtest/gtest.h"
29 28
30 #if defined(OS_POSIX) 29 #if defined(OS_POSIX)
31 // Used same name as in Windows to avoid #ifdef where refrenced 30 // Used same name as in Windows to avoid #ifdef where refrenced
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 MessageLoopForIO* loop_; 115 MessageLoopForIO* loop_;
117 ListenSocket* server_; 116 ListenSocket* server_;
118 ListenSocket* connection_; 117 ListenSocket* connection_;
119 ListenSocketTestAction last_action_; 118 ListenSocketTestAction last_action_;
120 std::deque<ListenSocketTestAction> queue_; 119 std::deque<ListenSocketTestAction> queue_;
121 SOCKET test_socket_; 120 SOCKET test_socket_;
122 static const int kTestPort; 121 static const int kTestPort;
123 }; 122 };
124 123
125 #endif // NET_BASE_LISTEN_SOCKET_UNITTEST_H_ 124 #endif // NET_BASE_LISTEN_SOCKET_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698