OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 #ifndef WEBRTC_TEST_DIRECT_TRANSPORT_H_ | 10 #ifndef WEBRTC_TEST_DIRECT_TRANSPORT_H_ |
11 #define WEBRTC_TEST_DIRECT_TRANSPORT_H_ | 11 #define WEBRTC_TEST_DIRECT_TRANSPORT_H_ |
12 | 12 |
13 #include <assert.h> | 13 #include <assert.h> |
14 | 14 |
15 #include <deque> | 15 #include <deque> |
16 | 16 |
17 #include "webrtc/api/call/transport.h" | 17 #include "webrtc/api/call/transport.h" |
| 18 #include "webrtc/base/criticalsection.h" |
| 19 #include "webrtc/base/event.h" |
| 20 #include "webrtc/base/platform_thread.h" |
18 #include "webrtc/call/call.h" | 21 #include "webrtc/call/call.h" |
19 #include "webrtc/rtc_base/criticalsection.h" | |
20 #include "webrtc/rtc_base/event.h" | |
21 #include "webrtc/rtc_base/platform_thread.h" | |
22 #include "webrtc/test/fake_network_pipe.h" | 22 #include "webrtc/test/fake_network_pipe.h" |
23 | 23 |
24 namespace webrtc { | 24 namespace webrtc { |
25 | 25 |
26 class Clock; | 26 class Clock; |
27 class PacketReceiver; | 27 class PacketReceiver; |
28 | 28 |
29 namespace test { | 29 namespace test { |
30 | 30 |
31 class DirectTransport : public Transport { | 31 class DirectTransport : public Transport { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 Clock* const clock_; | 108 Clock* const clock_; |
109 | 109 |
110 bool shutting_down_; | 110 bool shutting_down_; |
111 | 111 |
112 FakeNetworkPipe fake_network_; | 112 FakeNetworkPipe fake_network_; |
113 }; | 113 }; |
114 } // namespace test | 114 } // namespace test |
115 } // namespace webrtc | 115 } // namespace webrtc |
116 | 116 |
117 #endif // WEBRTC_TEST_DIRECT_TRANSPORT_H_ | 117 #endif // WEBRTC_TEST_DIRECT_TRANSPORT_H_ |
OLD | NEW |