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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 // Slot for packets read on the socket. | 82 // Slot for packets read on the socket. |
83 void OnPacket(AsyncPacketSocket* socket, const char* buf, size_t len, | 83 void OnPacket(AsyncPacketSocket* socket, const char* buf, size_t len, |
84 const SocketAddress& remote_addr, | 84 const SocketAddress& remote_addr, |
85 const PacketTime& packet_time); | 85 const PacketTime& packet_time); |
86 void OnReadyToSend(AsyncPacketSocket* socket); | 86 void OnReadyToSend(AsyncPacketSocket* socket); |
87 | 87 |
88 CriticalSection crit_; | 88 CriticalSection crit_; |
89 AsyncPacketSocket* socket_; | 89 AsyncPacketSocket* socket_; |
90 std::vector<Packet*>* packets_; | 90 std::vector<Packet*>* packets_; |
91 bool ready_to_send_; | 91 bool ready_to_send_; |
92 DISALLOW_COPY_AND_ASSIGN(TestClient); | 92 RTC_DISALLOW_COPY_AND_ASSIGN(TestClient); |
93 }; | 93 }; |
94 | 94 |
95 } // namespace rtc | 95 } // namespace rtc |
96 | 96 |
97 #endif // WEBRTC_BASE_TESTCLIENT_H_ | 97 #endif // WEBRTC_BASE_TESTCLIENT_H_ |
OLD | NEW |