Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(872)

Unified Diff: remoting/test/fake_socket_factory.cc

Issue 1866283004: Fix bandwidth estimation on remoting webrtc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/chromium_socket_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/fake_socket_factory.cc
diff --git a/remoting/test/fake_socket_factory.cc b/remoting/test/fake_socket_factory.cc
index 1781185b1163ba870d46827a18ed6414ca75dde9..18a3e95695f7e303ba17877ebbb14aa7e03f2662 100644
--- a/remoting/test/fake_socket_factory.cc
+++ b/remoting/test/fake_socket_factory.cc
@@ -120,7 +120,7 @@ int FakeUdpSocket::SendTo(const void* data, size_t data_size,
cricket::ApplyPacketOptions(
reinterpret_cast<uint8_t*>(buffer->data()), data_size,
options.packet_time_params,
- (base::TimeTicks::Now() - base::TimeTicks()).InMilliseconds());
+ (base::TimeTicks::Now() - base::TimeTicks()).InMicroseconds());
dispatcher_->DeliverPacket(local_address_, address, buffer, data_size);
return data_size;
}
« no previous file with comments | « remoting/protocol/chromium_socket_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698