Lots of random cleanups, mostly for native_theme_win.cc:
[chromium-blink-merge.git] / net / quic / congestion_control / tcp_receiver.cc
bloba8c5489b604928b73f8cb26171d0d8fd896bcba2
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/basictypes.h"
6 #include "net/quic/congestion_control/tcp_receiver.h"
8 namespace net {
10 // Originally 64K bytes, but increased it to 256K to support higher bitrates.
11 // static
12 const QuicByteCount TcpReceiver::kReceiveWindowTCP = 256000;
14 TcpReceiver::TcpReceiver()
15 : receive_window_(kReceiveWindowTCP) {
18 bool TcpReceiver::GenerateCongestionFeedback(
19 QuicCongestionFeedbackFrame* feedback) {
20 feedback->type = kTCP;
21 feedback->tcp.receive_window = receive_window_;
22 return true;
25 void TcpReceiver::RecordIncomingPacket(QuicByteCount bytes,
26 QuicPacketSequenceNumber sequence_number,
27 QuicTime timestamp) {
30 } // namespace net