OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_MANAGER_WINDOWS_H_ | 11 #ifndef WEBRTC_VOICE_ENGINE_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_MANAGER_WINDOWS_H
_ |
12 #define WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_MANAGER_WINDOWS_H_ | 12 #define WEBRTC_VOICE_ENGINE_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_MANAGER_WINDOWS_H
_ |
13 | 13 |
14 #include <winsock2.h> | 14 #include <winsock2.h> |
15 #include <list> | 15 #include <list> |
16 | 16 |
17 #include "webrtc/system_wrappers/include/atomic32.h" | 17 #include "webrtc/system_wrappers/include/atomic32.h" |
18 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 18 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
19 #include "webrtc/system_wrappers/include/event_wrapper.h" | 19 #include "webrtc/system_wrappers/include/event_wrapper.h" |
20 #include "webrtc/base/platform_thread.h" | 20 #include "webrtc/base/platform_thread.h" |
21 #include "webrtc/test/channel_transport/udp_socket2_win.h" | 21 #include "webrtc/voice_engine/test/channel_transport/udp_socket2_win.h" |
22 #include "webrtc/test/channel_transport/udp_socket_manager_wrapper.h" | 22 #include "webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.
h" |
23 #include "webrtc/test/channel_transport/udp_transport.h" | 23 #include "webrtc/voice_engine/test/channel_transport/udp_transport.h" |
24 | 24 |
25 #define MAX_IO_BUFF_SIZE 1600 | 25 #define MAX_IO_BUFF_SIZE 1600 |
26 | 26 |
27 namespace webrtc { | 27 namespace webrtc { |
28 namespace test { | 28 namespace test { |
29 | 29 |
30 enum IO_OPERATION { | 30 enum IO_OPERATION { |
31 OP_READ, | 31 OP_READ, |
32 OP_WRITE | 32 OP_WRITE |
33 }; | 33 }; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 WorkerList _workerThreadsList; | 152 WorkerList _workerThreadsList; |
153 EventWrapper* _event; | 153 EventWrapper* _event; |
154 | 154 |
155 HANDLE _ioCompletionHandle; | 155 HANDLE _ioCompletionHandle; |
156 IoContextPool _ioContextPool; | 156 IoContextPool _ioContextPool; |
157 }; | 157 }; |
158 | 158 |
159 } // namespace test | 159 } // namespace test |
160 } // namespace webrtc | 160 } // namespace webrtc |
161 | 161 |
162 #endif // WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_MANAGER_WINDOWS_H_ | 162 #endif // WEBRTC_VOICE_ENGINE_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_MANAGER_WINDOW
S_H_ |
OLD | NEW |