| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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_posix.h" | 11 #include "webrtc/voice_engine/test/channel_transport/udp_socket_manager_posix.h" |
| 12 | 12 |
| 13 #include <stdio.h> | 13 #include <stdio.h> |
| 14 #include <strings.h> | 14 #include <strings.h> |
| 15 #include <sys/time.h> | 15 #include <sys/time.h> |
| 16 #include <sys/types.h> | 16 #include <sys/types.h> |
| 17 #include <time.h> | 17 #include <time.h> |
| 18 #include <unistd.h> | 18 #include <unistd.h> |
| 19 | 19 |
| 20 #include "webrtc/system_wrappers/include/sleep.h" | 20 #include "webrtc/system_wrappers/include/sleep.h" |
| 21 #include "webrtc/system_wrappers/include/trace.h" | 21 #include "webrtc/system_wrappers/include/trace.h" |
| 22 #include "webrtc/test/channel_transport/udp_socket_posix.h" | 22 #include "webrtc/voice_engine/test/channel_transport/udp_socket_posix.h" |
| 23 | 23 |
| 24 namespace webrtc { | 24 namespace webrtc { |
| 25 namespace test { | 25 namespace test { |
| 26 | 26 |
| 27 UdpSocketManagerPosix::UdpSocketManagerPosix() | 27 UdpSocketManagerPosix::UdpSocketManagerPosix() |
| 28 : UdpSocketManager(), | 28 : UdpSocketManager(), |
| 29 _id(-1), | 29 _id(-1), |
| 30 _critSect(CriticalSectionWrapper::CreateCriticalSection()), | 30 _critSect(CriticalSectionWrapper::CreateCriticalSection()), |
| 31 _numberOfSocketMgr(-1), | 31 _numberOfSocketMgr(-1), |
| 32 _incSocketMgrNextTime(0), | 32 _incSocketMgrNextTime(0), |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 if(s) { | 383 if(s) { |
| 384 _socketMap[s->GetFd()] = s; | 384 _socketMap[s->GetFd()] = s; |
| 385 } | 385 } |
| 386 } | 386 } |
| 387 _addList.clear(); | 387 _addList.clear(); |
| 388 _critSectList->Leave(); | 388 _critSectList->Leave(); |
| 389 } | 389 } |
| 390 | 390 |
| 391 } // namespace test | 391 } // namespace test |
| 392 } // namespace webrtc | 392 } // namespace webrtc |
| OLD | NEW |