feat: accept-encoding zstd (#43150)

* fix: accept-encoding zstd

* Update shell/browser/net/system_network_context_manager.cc

Co-authored-by: Sam Maddock <smaddock@slack-corp.com>

* chore: make lint happy

---------

Co-authored-by: Sam Maddock <smaddock@slack-corp.com>
This commit is contained in:
Charles Kerr 2024-08-12 09:00:04 -05:00 committed by GitHub
parent 0f55b45282
commit bba31189a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -195,6 +195,8 @@ SystemNetworkContextManager::CreateDefaultNetworkContextParams() {
void SystemNetworkContextManager::ConfigureDefaultNetworkContextParams( void SystemNetworkContextManager::ConfigureDefaultNetworkContextParams(
network::mojom::NetworkContextParams* network_context_params) { network::mojom::NetworkContextParams* network_context_params) {
network_context_params->enable_brotli = true; network_context_params->enable_brotli = true;
network_context_params->enable_zstd =
base::FeatureList::IsEnabled(net::features::kZstdContentEncoding);
network_context_params->enable_referrers = true; network_context_params->enable_referrers = true;