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

Side by Side Diff: net/quic/congestion_control/available_channel_estimator.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
« no previous file with comments | « no previous file | net/quic/congestion_control/cube_root.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 // Based on the inter arrival time of the received packets relative to the time 5 // Based on the inter arrival time of the received packets relative to the time
6 // those packets where sent we can estimate the available capacity of the 6 // those packets where sent we can estimate the available capacity of the
7 // channel. 7 // channel.
8 // We can only use packet trains that are sent out faster than the acctual 8 // We can only use packet trains that are sent out faster than the acctual
9 // available channel capacity. 9 // available channel capacity.
10 // Note 1: this is intended to be a temporary class created when you send out a 10 // Note 1: this is intended to be a temporary class created when you send out a
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 private: 52 private:
53 const QuicPacketSequenceNumber first_sequence_number_; 53 const QuicPacketSequenceNumber first_sequence_number_;
54 const QuicTime first_send_time_; 54 const QuicTime first_send_time_;
55 const QuicTime first_receive_time_; 55 const QuicTime first_receive_time_;
56 QuicPacketSequenceNumber last_incorporated_sequence_number_; 56 QuicPacketSequenceNumber last_incorporated_sequence_number_;
57 QuicTime last_time_sent_; 57 QuicTime last_time_sent_;
58 QuicTime last_receive_time_; 58 QuicTime last_receive_time_;
59 int number_of_sequence_numbers_; 59 int number_of_sequence_numbers_;
60 QuicByteCount received_bytes_; 60 QuicByteCount received_bytes_;
61
62 DISALLOW_COPY_AND_ASSIGN(AvailableChannelEstimator);
61 }; 63 };
62 64
63 } // namespace net 65 } // namespace net
64 #endif // NET_QUIC_CONGESTION_CONTROL_AVAILABLE_CHANNEL_ESTIMATOR_H_ 66 #endif // NET_QUIC_CONGESTION_CONTROL_AVAILABLE_CHANNEL_ESTIMATOR_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/congestion_control/cube_root.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698