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

Unified Diff: webrtc/modules/congestion_controller/transport_feedback_adapter_unittest.cc

Issue 2726853002: Small TransportFeedbackAdapterTest efficiency boost and TODO resolved (Closed)
Patch Set: Remove no longer relevant documentation. Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/congestion_controller/transport_feedback_adapter_unittest.cc
diff --git a/webrtc/modules/congestion_controller/transport_feedback_adapter_unittest.cc b/webrtc/modules/congestion_controller/transport_feedback_adapter_unittest.cc
index 9cf758f0fd39832be701f5daa614f9fe1f0526f3..e0adee0ad45852076ef37e8d3a587d5e720226be 100644
--- a/webrtc/modules/congestion_controller/transport_feedback_adapter_unittest.cc
+++ b/webrtc/modules/congestion_controller/transport_feedback_adapter_unittest.cc
@@ -99,10 +99,7 @@ class TransportFeedbackAdapterTest : public ::testing::Test {
}
}
- // Utility method, to reset arrival_time_ms before adding send time.
- void OnSentPacket(PacketInfo info) {
- info.arrival_time_ms = 0;
- // TODO(philipel): Change -1, -1 to some values.
+ void OnSentPacket(const PacketInfo& info) {
adapter_->AddPacket(info.sequence_number, info.payload_size,
info.pacing_info);
adapter_->OnSentPacket(info.sequence_number, info.send_time_ms);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698