From bba31189a06f59d5b828e25defe14571cb502157 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 12 Aug 2024 09:00:04 -0500 Subject: [PATCH] feat: accept-encoding zstd (#43150) * fix: accept-encoding zstd * Update shell/browser/net/system_network_context_manager.cc Co-authored-by: Sam Maddock * chore: make lint happy --------- Co-authored-by: Sam Maddock --- 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 be839e174243..8b8beac393cf 100644 --- a/shell/browser/net/system_network_context_manager.cc +++ b/shell/browser/net/system_network_context_manager.cc @@ -195,6 +195,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;