| Index: net/http/http_network_session.h
|
| diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
|
| index 0987d548b3e1a396416e03a3daf036876b9e53fa..5e591be55244e36e1712980554353ee8da24bcd1 100644
|
| --- a/net/http/http_network_session.h
|
| +++ b/net/http/http_network_session.h
|
| @@ -209,6 +209,13 @@ class NET_EXPORT HttpNetworkSession
|
| bool restrict_to_one_preconnect_for_proxies;
|
| };
|
|
|
| + // Describes new Params values for a dynamic Params update.
|
| + // The purpose of this struct is that classes through which net params updates
|
| + // are "wired through" don't need to know about concrete parameters.
|
| + struct NET_EXPORT ParamsUpdate {
|
| + bool enable_quic_new;
|
| + };
|
| +
|
| enum SocketPoolType {
|
| NORMAL_SOCKET_POOL,
|
| WEBSOCKET_SOCKET_POOL,
|
| @@ -298,6 +305,15 @@ class NET_EXPORT HttpNetworkSession
|
| void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd,
|
| const std::string& parent_absolute_name) const;
|
|
|
| + // Evaluates if QUIC is enabled for new streams.
|
| + bool IsQuicEnabled() const;
|
| +
|
| + // Sets QUIC enablement for new streams.
|
| + void SetQuicEnabled(bool quic_enabled);
|
| +
|
| + // Update network params according to the passed |params_update|.
|
| + void UpdateParams(ParamsUpdate params_update);
|
| +
|
| private:
|
| friend class HttpNetworkSessionPeer;
|
|
|
|
|