| 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_WINDOWS_H_ | 11 #ifndef WEBRTC_VOICE_ENGINE_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_WINDOWS_H_ |
| 12 #define WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_WINDOWS_H_ | 12 #define WEBRTC_VOICE_ENGINE_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_WINDOWS_H_ |
| 13 | 13 |
| 14 // Disable deprication warning from traffic.h | 14 // Disable deprication warning from traffic.h |
| 15 #pragma warning(disable : 4995) | 15 #pragma warning(disable : 4995) |
| 16 | 16 |
| 17 // Don't change include order for these header files. | 17 // Don't change include order for these header files. |
| 18 #include <Winsock2.h> | 18 #include <Winsock2.h> |
| 19 #include <Ntddndis.h> | 19 #include <Ntddndis.h> |
| 20 #include <traffic.h> | 20 #include <traffic.h> |
| 21 | 21 |
| 22 #include "webrtc/base/event.h" | 22 #include "webrtc/base/event.h" |
| 23 #include "webrtc/system_wrappers/include/atomic32.h" | 23 #include "webrtc/system_wrappers/include/atomic32.h" |
| 24 #include "webrtc/system_wrappers/include/event_wrapper.h" | 24 #include "webrtc/system_wrappers/include/event_wrapper.h" |
| 25 #include "webrtc/system_wrappers/include/rw_lock_wrapper.h" | 25 #include "webrtc/system_wrappers/include/rw_lock_wrapper.h" |
| 26 #include "webrtc/system_wrappers/include/trace.h" | 26 #include "webrtc/system_wrappers/include/trace.h" |
| 27 #include "webrtc/test/channel_transport/udp_socket2_manager_win.h" | 27 #include "webrtc/voice_engine/test/channel_transport/udp_socket2_manager_win.h" |
| 28 #include "webrtc/test/channel_transport/udp_socket_wrapper.h" | 28 #include "webrtc/voice_engine/test/channel_transport/udp_socket_wrapper.h" |
| 29 | 29 |
| 30 namespace webrtc { | 30 namespace webrtc { |
| 31 namespace test { | 31 namespace test { |
| 32 | 32 |
| 33 class UdpSocket2ManagerWindows; | 33 class UdpSocket2ManagerWindows; |
| 34 class TrafficControlWindows; | 34 class TrafficControlWindows; |
| 35 struct PerIoContext; | 35 struct PerIoContext; |
| 36 | 36 |
| 37 class UdpSocket2Windows : public UdpSocketWrapper | 37 class UdpSocket2Windows : public UdpSocketWrapper |
| 38 { | 38 { |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 TrafficControlWindows* _gtc; | 164 TrafficControlWindows* _gtc; |
| 165 // Holds the current pcp value. Can be -2 or 0 - 7. | 165 // Holds the current pcp value. Can be -2 or 0 - 7. |
| 166 int _pcp; | 166 int _pcp; |
| 167 | 167 |
| 168 Atomic32 _receiveBuffers; | 168 Atomic32 _receiveBuffers; |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 } // namespace test | 171 } // namespace test |
| 172 } // namespace webrtc | 172 } // namespace webrtc |
| 173 | 173 |
| 174 #endif // WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_WINDOWS_H_ | 174 #endif // WEBRTC_VOICE_ENGINE_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_WINDOWS_H_ |
| OLD | NEW |