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

Side by Side Diff: net/quic/congestion_control/fix_rate_receiver.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Fix rate receive side congestion control, used for initial testing. 5 // Fix rate receive side congestion control, used for initial testing.
6 6
7 #ifndef NET_QUIC_CONGESTION_CONTROL_FIX_RATE_RECEIVER_H_ 7 #ifndef NET_QUIC_CONGESTION_CONTROL_FIX_RATE_RECEIVER_H_
8 #define NET_QUIC_CONGESTION_CONTROL_FIX_RATE_RECEIVER_H_ 8 #define NET_QUIC_CONGESTION_CONTROL_FIX_RATE_RECEIVER_H_
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 13 matching lines...) Expand all
24 FixRateReceiver(); 24 FixRateReceiver();
25 25
26 // Implements ReceiveAlgorithmInterface. 26 // Implements ReceiveAlgorithmInterface.
27 virtual bool GenerateCongestionFeedback( 27 virtual bool GenerateCongestionFeedback(
28 QuicCongestionFeedbackFrame* feedback) OVERRIDE; 28 QuicCongestionFeedbackFrame* feedback) OVERRIDE;
29 29
30 // Implements ReceiveAlgorithmInterface. 30 // Implements ReceiveAlgorithmInterface.
31 virtual void RecordIncomingPacket(QuicByteCount bytes, 31 virtual void RecordIncomingPacket(QuicByteCount bytes,
32 QuicPacketSequenceNumber sequence_number, 32 QuicPacketSequenceNumber sequence_number,
33 QuicTime timestamp) OVERRIDE; 33 QuicTime timestamp) OVERRIDE;
34
34 private: 35 private:
35 friend class test::FixRateReceiverPeer; 36 friend class test::FixRateReceiverPeer;
36 37
37 QuicBandwidth configured_rate_; 38 QuicBandwidth configured_rate_;
38 39
39 DISALLOW_COPY_AND_ASSIGN(FixRateReceiver); 40 DISALLOW_COPY_AND_ASSIGN(FixRateReceiver);
40 }; 41 };
41 42
42 } // namespace net 43 } // namespace net
43 #endif // NET_QUIC_CONGESTION_CONTROL_FIX_RATE_RECEIVER_H_ 44 #endif // NET_QUIC_CONGESTION_CONTROL_FIX_RATE_RECEIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698