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

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

Issue 420313005: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0723
Patch Set: change QUIC packet size to 1350 Created 6 years, 5 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/fix_rate_receiver.cc
diff --git a/net/quic/congestion_control/fix_rate_receiver.cc b/net/quic/congestion_control/fix_rate_receiver.cc
deleted file mode 100644
index a13362ff226b14266cd24e0cf0144494080a9931..0000000000000000000000000000000000000000
--- a/net/quic/congestion_control/fix_rate_receiver.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "net/quic/congestion_control/fix_rate_receiver.h"
-
-#include "base/basictypes.h"
-#include "net/quic/congestion_control/receive_algorithm_interface.h"
-
-namespace {
- static const int kInitialBitrate = 100000; // In bytes per second.
-}
-
-namespace net {
-
-FixRateReceiver::FixRateReceiver()
- : configured_rate_(QuicBandwidth::FromBytesPerSecond(kInitialBitrate)) {
-}
-
-bool FixRateReceiver::GenerateCongestionFeedback(
- QuicCongestionFeedbackFrame* feedback) {
- feedback->type = kFixRate;
- feedback->fix_rate.bitrate = configured_rate_;
- return true;
-}
-
-void FixRateReceiver::RecordIncomingPacket(
- QuicByteCount /*bytes*/,
- QuicPacketSequenceNumber /*sequence_number*/,
- QuicTime /*timestamp*/) {
- // Nothing to do for this simple implementation.
-}
-
-} // namespace net

Powered by Google App Engine
This is Rietveld 408576698