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_FAKE_NETWORK_PIPE_H_ | 11 #ifndef WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ |
12 #define WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ | 12 #define WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ |
13 | 13 |
14 #include <queue> | 14 #include <queue> |
15 | 15 |
16 #include "webrtc/base/constructormagic.h" | 16 #include "webrtc/base/constructormagic.h" |
17 #include "webrtc/base/criticalsection.h" | 17 #include "webrtc/base/criticalsection.h" |
18 #include "webrtc/base/scoped_ptr.h" | 18 #include "webrtc/base/scoped_ptr.h" |
19 #include "webrtc/system_wrappers/include/event_wrapper.h" | |
20 #include "webrtc/typedefs.h" | 19 #include "webrtc/typedefs.h" |
21 | 20 |
22 namespace webrtc { | 21 namespace webrtc { |
23 | 22 |
24 class Clock; | 23 class Clock; |
25 class CriticalSectionWrapper; | 24 class CriticalSectionWrapper; |
26 class NetworkPacket; | 25 class NetworkPacket; |
27 class PacketReceiver; | 26 class PacketReceiver; |
28 | 27 |
29 // Class faking a network link. This is a simple and naive solution just faking | 28 // Class faking a network link. This is a simple and naive solution just faking |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 int total_packet_delay_; | 85 int total_packet_delay_; |
87 | 86 |
88 int64_t next_process_time_; | 87 int64_t next_process_time_; |
89 | 88 |
90 RTC_DISALLOW_COPY_AND_ASSIGN(FakeNetworkPipe); | 89 RTC_DISALLOW_COPY_AND_ASSIGN(FakeNetworkPipe); |
91 }; | 90 }; |
92 | 91 |
93 } // namespace webrtc | 92 } // namespace webrtc |
94 | 93 |
95 #endif // WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ | 94 #endif // WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ |
OLD | NEW |