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

Unified Diff: net/quic/core/congestion_control/cubic_bytes.h

Issue 2569873002: relnote: Protected by --quic_fix_cubic_bytes_quantization. Fix CubicBytes Quantization. (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/quic/core/congestion_control/cubic_bytes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | net/quic/core/congestion_control/cubic_bytes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698