| Index: net/quic/core/quic_config.h
|
| diff --git a/net/quic/core/quic_config.h b/net/quic/core/quic_config.h
|
| index c7f89b0ad76593a2f5c5bf606933fc5d92f05f8c..393aed3627afe13987a0ed9445356d4a5d73a755 100644
|
| --- a/net/quic/core/quic_config.h
|
| +++ b/net/quic/core/quic_config.h
|
| @@ -241,9 +241,19 @@ class NET_EXPORT_PRIVATE QuicConfig {
|
|
|
| // Returns true if the client is sending or the server has received a
|
| // connection option.
|
| + // TODO(ianswett): Rename to HasClientRequestedSharedOption
|
| bool HasClientSentConnectionOption(QuicTag tag,
|
| Perspective perspective) const;
|
|
|
| + void SetClientConnectionOptions(
|
| + const QuicTagVector& client_connection_options);
|
| +
|
| + // Returns true if the client has requested the specified connection option.
|
| + // Checks the client connection options if the |perspective| is client and
|
| + // connection options if the |perspective| is the server.
|
| + bool HasClientRequestedIndependentOption(QuicTag tag,
|
| + Perspective perspective) const;
|
| +
|
| void SetIdleNetworkTimeout(QuicTime::Delta max_idle_network_timeout,
|
| QuicTime::Delta default_idle_network_timeout);
|
|
|
| @@ -387,8 +397,11 @@ class NET_EXPORT_PRIVATE QuicConfig {
|
| // Maximum number of undecryptable packets stored before CHLO/SHLO.
|
| size_t max_undecryptable_packets_;
|
|
|
| - // Connection options.
|
| + // Connection options which affect the server side. May also affect the
|
| + // client side in cases when identical behavior is desirable.
|
| QuicFixedTagVector connection_options_;
|
| + // Connection options which only affect the client side.
|
| + QuicFixedTagVector client_connection_options_;
|
| // Idle network timeout in seconds.
|
| QuicNegotiableUint32 idle_network_timeout_seconds_;
|
| // Whether to use silent close. Defaults to 0 (false) and is otherwise true.
|
|
|