| Index: net/quic/quartc/quartc_factory_interface.h
|
| diff --git a/net/quic/quartc/quartc_factory_interface.h b/net/quic/quartc/quartc_factory_interface.h
|
| index 1d4db2f060d8fce1e315b662669a7b2e830ce2c2..39b5ba2e27f317fa99b4f88ecab8f66d162f5236 100644
|
| --- a/net/quic/quartc/quartc_factory_interface.h
|
| +++ b/net/quic/quartc/quartc_factory_interface.h
|
| @@ -16,6 +16,12 @@
|
|
|
| namespace net {
|
|
|
| +// Algorithm to use for congestion control.
|
| +enum class QuartcCongestionControl {
|
| + kDefault, // Use an arbitrary algorithm chosen by QUIC.
|
| + kBBR, // Use BBR.
|
| +};
|
| +
|
| // Used to create instances for Quartc objects such as QuartcSession.
|
| class QuartcFactoryInterface {
|
| public:
|
| @@ -36,6 +42,10 @@ class QuartcFactoryInterface {
|
| // The maximum size of the packet can be written with the packet writer.
|
| // 1200 bytes by default.
|
| uint64_t max_packet_size = 1200;
|
| + // Algorithm to use for congestion control. By default, uses an arbitrary
|
| + // congestion control algorithm chosen by QUIC.
|
| + QuartcCongestionControl congestion_control =
|
| + QuartcCongestionControl::kDefault;
|
| };
|
|
|
| virtual std::unique_ptr<QuartcSessionInterface> CreateQuartcSession(
|
|
|