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