| Index: net/quic/core/congestion_control/cubic_bytes.h
|
| diff --git a/net/quic/core/congestion_control/cubic_bytes.h b/net/quic/core/congestion_control/cubic_bytes.h
|
| index 481b012ad3cebbbbb67db16f0f5d4dce2b32285b..0ecfce745728e5f2004072d484fcdc89dae14970 100644
|
| --- a/net/quic/core/congestion_control/cubic_bytes.h
|
| +++ b/net/quic/core/congestion_control/cubic_bytes.h
|
| @@ -19,6 +19,10 @@
|
|
|
| namespace net {
|
|
|
| +namespace test {
|
| +class CubicBytesTest;
|
| +} // namespace test
|
| +
|
| class QUIC_EXPORT_PRIVATE CubicBytes {
|
| public:
|
| explicit CubicBytes(const QuicClock* clock);
|
| @@ -47,7 +51,11 @@ class QUIC_EXPORT_PRIVATE CubicBytes {
|
|
|
| void SetFixConvexMode(bool fix_convex_mode);
|
|
|
| + void SetFixCubicQuantization(bool fix_cubic_quantization);
|
| +
|
| private:
|
| + friend class test::CubicBytesTest;
|
| +
|
| static const QuicTime::Delta MaxCubicTimeInterval() {
|
| return QuicTime::Delta::FromMilliseconds(30);
|
| }
|
| @@ -95,6 +103,10 @@ class QUIC_EXPORT_PRIVATE CubicBytes {
|
| // TODO(jokulik): Remove once the cubic convex experiment is done.
|
| bool fix_convex_mode_;
|
|
|
| + // Fix for quantization in cubic mode.
|
| + // TODO(jokulik): Remove once the experiment is done.
|
| + bool fix_cubic_quantization_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CubicBytes);
|
| };
|
|
|
|
|