fix: intialize FPS file in network service (#33339)

This commit is contained in:
Keeley Hammond 2022-03-18 21:29:42 -07:00 committed by GitHub
parent e07c2b84d7
commit 08d54d2416
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -288,6 +288,10 @@ void SystemNetworkContextManager::OnNetworkServiceCreated(
base::FeatureList::IsEnabled(features::kAsyncDns), base::FeatureList::IsEnabled(features::kAsyncDns),
default_secure_dns_mode, doh_config, additional_dns_query_types_enabled); 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(); std::string app_name = electron::Browser::Get()->GetName();
#if BUILDFLAG(IS_MAC) #if BUILDFLAG(IS_MAC)
KeychainPassword::GetServiceName() = app_name + " Safe Storage"; KeychainPassword::GetServiceName() = app_name + " Safe Storage";