From 08d54d241693441ef672efa87009c0eb01ae86cb Mon Sep 17 00:00:00 2001 From: Keeley Hammond Date: Fri, 18 Mar 2022 21:29:42 -0700 Subject: [PATCH] fix: intialize FPS file in network service (#33339) --- shell/browser/net/system_network_context_manager.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/browser/net/system_network_context_manager.cc b/shell/browser/net/system_network_context_manager.cc index d1f474d59ead..de3989ad8867 100644 --- a/shell/browser/net/system_network_context_manager.cc +++ b/shell/browser/net/system_network_context_manager.cc @@ -288,6 +288,10 @@ void SystemNetworkContextManager::OnNetworkServiceCreated( base::FeatureList::IsEnabled(features::kAsyncDns), default_secure_dns_mode, doh_config, additional_dns_query_types_enabled); + // Initializes first party sets component + // CL: https://chromium-review.googlesource.com/c/chromium/src/+/3449280 + content::GetNetworkService()->SetFirstPartySets(base::File()); + std::string app_name = electron::Browser::Get()->GetName(); #if BUILDFLAG(IS_MAC) KeychainPassword::GetServiceName() = app_name + " Safe Storage";