| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 const SocketAddress& remote_addr, | 89 const SocketAddress& remote_addr, |
| 90 const PacketTime& packet_time); | 90 const PacketTime& packet_time); |
| 91 void OnReadyToSend(AsyncPacketSocket* socket); | 91 void OnReadyToSend(AsyncPacketSocket* socket); |
| 92 bool CheckTimestamp(int64_t packet_timestamp); | 92 bool CheckTimestamp(int64_t packet_timestamp); |
| 93 | 93 |
| 94 CriticalSection crit_; | 94 CriticalSection crit_; |
| 95 AsyncPacketSocket* socket_; | 95 AsyncPacketSocket* socket_; |
| 96 std::vector<Packet*>* packets_; | 96 std::vector<Packet*>* packets_; |
| 97 bool ready_to_send_; | 97 bool ready_to_send_; |
| 98 int64_t prev_packet_timestamp_; | 98 int64_t prev_packet_timestamp_; |
| 99 int64_t prev_time_us_; | |
| 100 RTC_DISALLOW_COPY_AND_ASSIGN(TestClient); | 99 RTC_DISALLOW_COPY_AND_ASSIGN(TestClient); |
| 101 }; | 100 }; |
| 102 | 101 |
| 103 } // namespace rtc | 102 } // namespace rtc |
| 104 | 103 |
| 105 #endif // WEBRTC_BASE_TESTCLIENT_H_ | 104 #endif // WEBRTC_BASE_TESTCLIENT_H_ |
| OLD | NEW |