| Index: remoting/test/fake_socket_factory.h
|
| diff --git a/remoting/test/fake_socket_factory.h b/remoting/test/fake_socket_factory.h
|
| index e75581824816b9c6f57db39173bfd5961fb3096d..4a028543b3e61894c533c73841750c2bf63e998e 100644
|
| --- a/remoting/test/fake_socket_factory.h
|
| +++ b/remoting/test/fake_socket_factory.h
|
| @@ -53,6 +53,9 @@ class FakePacketSocketFactory : public rtc::PacketSocketFactory,
|
| out_of_order_rate_ = out_of_order_rate;
|
| }
|
|
|
| + void ResetStats();
|
| + base::TimeDelta GetAverageDelay();
|
| +
|
| // rtc::PacketSocketFactory interface.
|
| rtc::AsyncPacketSocket* CreateUdpSocket(
|
| const rtc::SocketAddress& local_address,
|
| @@ -119,6 +122,9 @@ class FakePacketSocketFactory : public rtc::PacketSocketFactory,
|
|
|
| std::list<PendingPacket> pending_packets_;
|
|
|
| + int total_packets_received_ = 0;
|
| + base::TimeDelta total_delay_;
|
| +
|
| base::WeakPtrFactory<FakePacketSocketFactory> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(FakePacketSocketFactory);
|
|
|