| 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 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 PacketReceiver* packet_receiver_; | 75 PacketReceiver* packet_receiver_; |
| 76 std::queue<NetworkPacket*> capacity_link_; | 76 std::queue<NetworkPacket*> capacity_link_; |
| 77 std::queue<NetworkPacket*> delay_link_; | 77 std::queue<NetworkPacket*> delay_link_; |
| 78 | 78 |
| 79 // Link configuration. | 79 // Link configuration. |
| 80 Config config_; | 80 Config config_; |
| 81 | 81 |
| 82 // Statistics. | 82 // Statistics. |
| 83 size_t dropped_packets_; | 83 size_t dropped_packets_; |
| 84 size_t sent_packets_; | 84 size_t sent_packets_; |
| 85 int total_packet_delay_; | 85 int64_t total_packet_delay_; |
| 86 | 86 |
| 87 int64_t next_process_time_; | 87 int64_t next_process_time_; |
| 88 | 88 |
| 89 RTC_DISALLOW_COPY_AND_ASSIGN(FakeNetworkPipe); | 89 RTC_DISALLOW_COPY_AND_ASSIGN(FakeNetworkPipe); |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace webrtc | 92 } // namespace webrtc |
| 93 | 93 |
| 94 #endif // WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ | 94 #endif // WEBRTC_TEST_FAKE_NETWORK_PIPE_H_ |
| OLD | NEW |