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 <memory> | 14 #include <memory> |
15 #include <set> | 15 #include <set> |
16 #include <string.h> | 16 #include <string.h> |
17 #include <queue> | 17 #include <queue> |
18 | 18 |
19 #include "webrtc/base/constructormagic.h" | 19 #include "webrtc/base/constructormagic.h" |
20 #include "webrtc/base/criticalsection.h" | 20 #include "webrtc/base/criticalsection.h" |
21 #include "webrtc/base/random.h" | 21 #include "webrtc/base/random.h" |
22 #include "webrtc/base/scoped_ptr.h" | |
23 #include "webrtc/typedefs.h" | 22 #include "webrtc/typedefs.h" |
24 | 23 |
25 namespace webrtc { | 24 namespace webrtc { |
26 | 25 |
27 class Clock; | 26 class Clock; |
28 class CriticalSectionWrapper; | 27 class CriticalSectionWrapper; |
29 class PacketReceiver; | 28 class PacketReceiver; |
30 | 29 |
31 class NetworkPacket { | 30 class NetworkPacket { |
32 public: | 31 public: |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 int64_t total_packet_delay_; | 134 int64_t total_packet_delay_; |
136 | 135 |
137 int64_t next_process_time_; | 136 int64_t next_process_time_; |
138 | 137 |
139 RTC_DISALLOW_COPY_AND_ASSIGN(FakeNetworkPipe); | 138 RTC_DISALLOW_COPY_AND_ASSIGN(FakeNetworkPipe); |
140 }; | 139 }; |
141 | 140 |
142 } // namespace webrtc | 141 } // namespace webrtc |
143 | 142 |
144 #endif // WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ | 143 #endif // WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ |
OLD | NEW |