| 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_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_WINDOWS_H_ |
| 12 #define WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_WINDOWS_H_ | 12 #define WEBRTC_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/system_wrappers/interface/atomic32.h" | 22 #include "webrtc/system_wrappers/include/atomic32.h" |
| 23 #include "webrtc/system_wrappers/interface/condition_variable_wrapper.h" | 23 #include "webrtc/system_wrappers/include/condition_variable_wrapper.h" |
| 24 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 24 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
| 25 #include "webrtc/system_wrappers/interface/event_wrapper.h" | 25 #include "webrtc/system_wrappers/include/event_wrapper.h" |
| 26 #include "webrtc/system_wrappers/interface/rw_lock_wrapper.h" | 26 #include "webrtc/system_wrappers/include/rw_lock_wrapper.h" |
| 27 #include "webrtc/system_wrappers/interface/trace.h" | 27 #include "webrtc/system_wrappers/include/trace.h" |
| 28 #include "webrtc/test/channel_transport/udp_socket2_manager_win.h" | 28 #include "webrtc/test/channel_transport/udp_socket2_manager_win.h" |
| 29 #include "webrtc/test/channel_transport/udp_socket_wrapper.h" | 29 #include "webrtc/test/channel_transport/udp_socket_wrapper.h" |
| 30 | 30 |
| 31 namespace webrtc { | 31 namespace webrtc { |
| 32 namespace test { | 32 namespace test { |
| 33 | 33 |
| 34 class UdpSocket2ManagerWindows; | 34 class UdpSocket2ManagerWindows; |
| 35 class TrafficControlWindows; | 35 class TrafficControlWindows; |
| 36 struct PerIoContext; | 36 struct PerIoContext; |
| 37 | 37 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 // Holds the current pcp value. Can be -2 or 0 - 7. | 170 // Holds the current pcp value. Can be -2 or 0 - 7. |
| 171 int _pcp; | 171 int _pcp; |
| 172 | 172 |
| 173 Atomic32 _receiveBuffers; | 173 Atomic32 _receiveBuffers; |
| 174 }; | 174 }; |
| 175 | 175 |
| 176 } // namespace test | 176 } // namespace test |
| 177 } // namespace webrtc | 177 } // namespace webrtc |
| 178 | 178 |
| 179 #endif // WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_WINDOWS_H_ | 179 #endif // WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET2_WINDOWS_H_ |
| OLD | NEW |