Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
fix: intialize FPS file in network service (electron#33339)
Browse files Browse the repository at this point in the history
  • Loading branch information
VerteDinde authored and khalwa committed Feb 22, 2023
1 parent e08f51f commit 2eddc6e
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 2eddc6e

Please sign in to comment.