| OLD | NEW | 
|---|
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 // Cubic algorithm, helper class to TCP cubic. | 5 // Cubic algorithm, helper class to TCP cubic. | 
| 6 // For details see http://netsrv.csc.ncsu.edu/export/cubic_a_new_tcp_2008.pdf. | 6 // For details see http://netsrv.csc.ncsu.edu/export/cubic_a_new_tcp_2008.pdf. | 
| 7 | 7 | 
| 8 #ifndef NET_QUIC_CORE_CONGESTION_CONTROL_CUBIC_BYTES_H_ | 8 #ifndef NET_QUIC_CORE_CONGESTION_CONTROL_CUBIC_BYTES_H_ | 
| 9 #define NET_QUIC_CORE_CONGESTION_CONTROL_CUBIC_BYTES_H_ | 9 #define NET_QUIC_CORE_CONGESTION_CONTROL_CUBIC_BYTES_H_ | 
| 10 | 10 | 
| 11 #include <stdint.h> | 11 #include <cstdint> | 
| 12 | 12 | 
| 13 #include "base/macros.h" | 13 #include "base/macros.h" | 
| 14 #include "net/quic/core/quic_bandwidth.h" | 14 #include "net/quic/core/quic_bandwidth.h" | 
| 15 #include "net/quic/core/quic_connection_stats.h" | 15 #include "net/quic/core/quic_connection_stats.h" | 
| 16 #include "net/quic/core/quic_time.h" | 16 #include "net/quic/core/quic_time.h" | 
| 17 #include "net/quic/platform/api/quic_clock.h" | 17 #include "net/quic/platform/api/quic_clock.h" | 
| 18 #include "net/quic/platform/api/quic_export.h" | 18 #include "net/quic/platform/api/quic_export.h" | 
| 19 | 19 | 
| 20 namespace net { | 20 namespace net { | 
| 21 | 21 | 
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 94   // Fix convex mode for cubic. | 94   // Fix convex mode for cubic. | 
| 95   // TODO(jokulik):  Remove once the cubic convex experiment is done. | 95   // TODO(jokulik):  Remove once the cubic convex experiment is done. | 
| 96   bool fix_convex_mode_; | 96   bool fix_convex_mode_; | 
| 97 | 97 | 
| 98   DISALLOW_COPY_AND_ASSIGN(CubicBytes); | 98   DISALLOW_COPY_AND_ASSIGN(CubicBytes); | 
| 99 }; | 99 }; | 
| 100 | 100 | 
| 101 }  // namespace net | 101 }  // namespace net | 
| 102 | 102 | 
| 103 #endif  // NET_QUIC_CORE_CONGESTION_CONTROL_CUBIC_BYTES_H_ | 103 #endif  // NET_QUIC_CORE_CONGESTION_CONTROL_CUBIC_BYTES_H_ | 
| OLD | NEW | 
|---|