| 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 #include "webrtc/test/channel_transport/udp_socket_manager_wrapper.h" | 11 #include "webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.
h" |
| 12 | 12 |
| 13 #include <assert.h> | 13 #include <assert.h> |
| 14 | 14 |
| 15 #ifdef _WIN32 | 15 #ifdef _WIN32 |
| 16 #include "webrtc/system_wrappers/include/fix_interlocked_exchange_pointer_win.h" | 16 #include "webrtc/system_wrappers/include/fix_interlocked_exchange_pointer_win.h" |
| 17 #include "webrtc/test/channel_transport/udp_socket2_manager_win.h" | 17 #include "webrtc/voice_engine/test/channel_transport/udp_socket2_manager_win.h" |
| 18 #else | 18 #else |
| 19 #include "webrtc/test/channel_transport/udp_socket_manager_posix.h" | 19 #include "webrtc/voice_engine/test/channel_transport/udp_socket_manager_posix.h" |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 namespace webrtc { | 22 namespace webrtc { |
| 23 namespace test { | 23 namespace test { |
| 24 | 24 |
| 25 UdpSocketManager* UdpSocketManager::CreateInstance() | 25 UdpSocketManager* UdpSocketManager::CreateInstance() |
| 26 { | 26 { |
| 27 #if defined(_WIN32) | 27 #if defined(_WIN32) |
| 28 return static_cast<UdpSocketManager*>(new UdpSocket2ManagerWindows()); | 28 return static_cast<UdpSocketManager*>(new UdpSocket2ManagerWindows()); |
| 29 #else | 29 #else |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 { | 63 { |
| 64 } | 64 } |
| 65 | 65 |
| 66 uint8_t UdpSocketManager::WorkThreads() const | 66 uint8_t UdpSocketManager::WorkThreads() const |
| 67 { | 67 { |
| 68 return _numOfWorkThreads; | 68 return _numOfWorkThreads; |
| 69 } | 69 } |
| 70 | 70 |
| 71 } // namespace test | 71 } // namespace test |
| 72 } // namespace webrtc | 72 } // namespace webrtc |
| OLD | NEW |