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

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

Issue 242643009: Added DISALLOW_COPY_AND_ASSIGN to disable copy/assign. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merging with TOT and internal CL: 65311983 Created 6 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef NET_QUIC_CONGESTION_CONTROL_TCP_LOSS_ALGORITHM_H_ 5 #ifndef NET_QUIC_CONGESTION_CONTROL_TCP_LOSS_ALGORITHM_H_
6 #define NET_QUIC_CONGESTION_CONTROL_TCP_LOSS_ALGORITHM_H_ 6 #define NET_QUIC_CONGESTION_CONTROL_TCP_LOSS_ALGORITHM_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <map> 9 #include <map>
10 10
(...skipping 19 matching lines...) Expand all
30 const QuicUnackedPacketMap& unacked_packets, 30 const QuicUnackedPacketMap& unacked_packets,
31 const QuicTime& time, 31 const QuicTime& time,
32 QuicPacketSequenceNumber largest_observed, 32 QuicPacketSequenceNumber largest_observed,
33 const RttStats& rtt_stats) OVERRIDE; 33 const RttStats& rtt_stats) OVERRIDE;
34 34
35 // Returns a non-zero value when the early retransmit timer is active. 35 // Returns a non-zero value when the early retransmit timer is active.
36 virtual QuicTime GetLossTimeout() const OVERRIDE; 36 virtual QuicTime GetLossTimeout() const OVERRIDE;
37 37
38 private: 38 private:
39 QuicTime loss_detection_timeout_; 39 QuicTime loss_detection_timeout_;
40
41 DISALLOW_COPY_AND_ASSIGN(TCPLossAlgorithm);
40 }; 42 };
41 43
42 } // namespace net 44 } // namespace net
43 45
44 #endif // NET_QUIC_CONGESTION_CONTROL_TCP_LOSS_ALGORITHM_H_ 46 #endif // NET_QUIC_CONGESTION_CONTROL_TCP_LOSS_ALGORITHM_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/rtt_stats.h ('k') | net/quic/congestion_control/time_loss_algorithm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698