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

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

Issue 447093004: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed indenation in QuicFramer.cc 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
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 8d1a39ce745f202632697e0fb0c95e899aac92f3..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 {
@@ -14,9 +15,8 @@ ReceiveAlgorithmInterface* ReceiveAlgorithmInterface::Create(
switch (type) {
case kTCP:
return new TcpReceiver();
- case kInterArrival:
- LOG(DFATAL) << "InterArrivalSendAlgorithm no longer supported.";
- return NULL;
+ case kTimestamp:
+ return new TimestampReceiver();
}
return NULL;
}
« no previous file with comments | « net/quic/congestion_control/hybrid_slow_start_test.cc ('k') | net/quic/congestion_control/send_algorithm_simulator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698