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

Unified Diff: net/quic/congestion_control/receive_algorithm_interface.cc

Issue 449693002: Bring back InterArrivalReceiver and rename it to TimestampeReceiver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Move_Quic_AppendTimestampFrame_72148809
Patch Set: minor comment fix Created 6 years, 4 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 | « net/net.gypi ('k') | net/quic/congestion_control/timestamp_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/receive_algorithm_interface.cc
diff --git a/net/quic/congestion_control/receive_algorithm_interface.cc b/net/quic/congestion_control/receive_algorithm_interface.cc
index cdc6afeae54aef0e6eeb40cc13b703178ded4921..4f608580c7f993047df68fd482c98639cb56e877 100644
--- a/net/quic/congestion_control/receive_algorithm_interface.cc
+++ b/net/quic/congestion_control/receive_algorithm_interface.cc
@@ -5,6 +5,7 @@
#include "net/quic/congestion_control/receive_algorithm_interface.h"
#include "net/quic/congestion_control/tcp_receiver.h"
+#include "net/quic/congestion_control/timestamp_receiver.h"
namespace net {
@@ -15,9 +16,7 @@ ReceiveAlgorithmInterface* ReceiveAlgorithmInterface::Create(
case kTCP:
return new TcpReceiver();
case kTimestamp:
- // TODO(cyr): Support this by returning the TcpReceiver.
- LOG(DFATAL) << "TimestampCongestionFeedback is not supported.";
- return NULL;
+ return new TimestampReceiver();
}
return NULL;
}
« no previous file with comments | « net/net.gypi ('k') | net/quic/congestion_control/timestamp_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698