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/interface/event_wrapper.h" | 19 #include "webrtc/system_wrappers/include/event_wrapper.h" |
20 #include "webrtc/typedefs.h" | 20 #include "webrtc/typedefs.h" |
21 | 21 |
22 namespace webrtc { | 22 namespace webrtc { |
23 | 23 |
24 class CriticalSectionWrapper; | 24 class CriticalSectionWrapper; |
25 class NetworkPacket; | 25 class NetworkPacket; |
26 class PacketReceiver; | 26 class PacketReceiver; |
27 | 27 |
28 // 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 |
29 // capacity and adding an extra transport delay in addition to the capacity | 29 // capacity and adding an extra transport delay in addition to the capacity |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 int total_packet_delay_; | 90 int total_packet_delay_; |
91 | 91 |
92 int64_t next_process_time_; | 92 int64_t next_process_time_; |
93 | 93 |
94 RTC_DISALLOW_COPY_AND_ASSIGN(FakeNetworkPipe); | 94 RTC_DISALLOW_COPY_AND_ASSIGN(FakeNetworkPipe); |
95 }; | 95 }; |
96 | 96 |
97 } // namespace webrtc | 97 } // namespace webrtc |
98 | 98 |
99 #endif // WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ | 99 #endif // WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ |
OLD | NEW |