From 7123b313cf7d44cd829a6958266aa115164e0b3b Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Fri, 16 Aug 2024 11:24:10 +0200 Subject: [PATCH] feat: accept-encoding zstd (#43300) * fix: accept-encoding zstd Co-authored-by: Charles Kerr * Update shell/browser/net/system_network_context_manager.cc Co-authored-by: Sam Maddock Co-authored-by: Charles Kerr * chore: make lint happy Co-authored-by: Charles Kerr --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr --- shell/browser/net/system_network_context_manager.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/browser/net/system_network_context_manager.cc b/shell/browser/net/system_network_context_manager.cc index 53e0a17d54e3..be28590b6dfb 100644 --- a/shell/browser/net/system_network_context_manager.cc +++ b/shell/browser/net/system_network_context_manager.cc @@ -198,6 +198,8 @@ SystemNetworkContextManager::CreateDefaultNetworkContextParams() { void SystemNetworkContextManager::ConfigureDefaultNetworkContextParams( network::mojom::NetworkContextParams* network_context_params) { network_context_params->enable_brotli = true; + network_context_params->enable_zstd = + base::FeatureList::IsEnabled(net::features::kZstdContentEncoding); network_context_params->enable_referrers = true;