Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: webrtc/test/channel_transport/udp_socket_manager_posix.h

Issue 1591333002: Remove dependency on ConditionVariableWrapper and CriticalSectionWrapper in UdpSocketPosix. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove unnecessary fwd decl Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/test/channel_transport/udp_socket_posix.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET_MANAGER_POSIX_H_ 11 #ifndef WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET_MANAGER_POSIX_H_
12 #define WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET_MANAGER_POSIX_H_ 12 #define WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET_MANAGER_POSIX_H_
13 13
14 #include <sys/types.h> 14 #include <sys/types.h>
15 #include <unistd.h> 15 #include <unistd.h>
16 16
17 #include <list> 17 #include <list>
18 #include <map> 18 #include <map>
19 19
20 #include "webrtc/base/platform_thread.h" 20 #include "webrtc/base/platform_thread.h"
21 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" 21 #include "webrtc/system_wrappers/include/critical_section_wrapper.h"
22 #include "webrtc/test/channel_transport/udp_socket_manager_wrapper.h" 22 #include "webrtc/test/channel_transport/udp_socket_manager_wrapper.h"
23 #include "webrtc/test/channel_transport/udp_socket_wrapper.h" 23 #include "webrtc/test/channel_transport/udp_socket_wrapper.h"
24 24
25 namespace webrtc { 25 namespace webrtc {
26
27 class ConditionVariableWrapper;
28
29 namespace test { 26 namespace test {
30 27
31 class UdpSocketPosix; 28 class UdpSocketPosix;
32 class UdpSocketManagerPosixImpl; 29 class UdpSocketManagerPosixImpl;
33 #define MAX_NUMBER_OF_SOCKET_MANAGERS_LINUX 8 30 #define MAX_NUMBER_OF_SOCKET_MANAGERS_LINUX 8
34 31
35 class UdpSocketManagerPosix : public UdpSocketManager 32 class UdpSocketManagerPosix : public UdpSocketManager
36 { 33 {
37 public: 34 public:
38 UdpSocketManagerPosix(); 35 UdpSocketManagerPosix();
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 79
83 std::map<SOCKET, UdpSocketPosix*> _socketMap; 80 std::map<SOCKET, UdpSocketPosix*> _socketMap;
84 SocketList _addList; 81 SocketList _addList;
85 FdList _removeList; 82 FdList _removeList;
86 }; 83 };
87 84
88 } // namespace test 85 } // namespace test
89 } // namespace webrtc 86 } // namespace webrtc
90 87
91 #endif // WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET_MANAGER_POSIX_H_ 88 #endif // WEBRTC_TEST_CHANNEL_TRANSPORT_UDP_SOCKET_MANAGER_POSIX_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/test/channel_transport/udp_socket_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698