This source file includes following definitions.
- GenerateCongestionFeedback
- RecordIncomingPacket
#include "base/basictypes.h"
#include "net/quic/congestion_control/tcp_receiver.h"
namespace net {
const QuicByteCount TcpReceiver::kReceiveWindowTCP = 256000;
TcpReceiver::TcpReceiver()
: receive_window_(kReceiveWindowTCP) {
}
bool TcpReceiver::GenerateCongestionFeedback(
QuicCongestionFeedbackFrame* feedback) {
feedback->type = kTCP;
feedback->tcp.receive_window = receive_window_;
return true;
}
void TcpReceiver::RecordIncomingPacket(QuicByteCount bytes,
QuicPacketSequenceNumber sequence_number,
QuicTime timestamp) {
}
}