OLD | NEW |
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) |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 MessageLoopForIO* loop_; | 116 MessageLoopForIO* loop_; |
117 ListenSocket* server_; | 117 ListenSocket* server_; |
118 ListenSocket* connection_; | 118 ListenSocket* connection_; |
119 ListenSocketTestAction last_action_; | 119 ListenSocketTestAction last_action_; |
120 std::deque<ListenSocketTestAction> queue_; | 120 std::deque<ListenSocketTestAction> queue_; |
121 SOCKET test_socket_; | 121 SOCKET test_socket_; |
122 static const int kTestPort; | 122 static const int kTestPort; |
123 }; | 123 }; |
124 | 124 |
125 #endif // NET_BASE_LISTEN_SOCKET_UNITTEST_H_ | 125 #endif // NET_BASE_LISTEN_SOCKET_UNITTEST_H_ |
126 | |
OLD | NEW |