Skip to content

Commit

Permalink
fix: intialize FPS file in network service (#33345)
Browse files Browse the repository at this point in the history
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
  • Loading branch information
trop[bot] and VerteDinde committed Mar 20, 2022
1 parent 91274e5 commit 0370583
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shell/browser/net/system_network_context_manager.cc
Expand Up @@ -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";
Expand Down

0 comments on commit 0370583

Please sign in to comment.