chore: revert 459fe0e from 26-x-y (#39119)

Revert "feat: expose safestorage backend information on linux (#39107)"

This reverts commit 459fe0e68d.
This commit is contained in:
Robo
2023-07-19 06:06:57 -07:00
committed by GitHub
parent 534cdbd538
commit 25c18637ed
9 changed files with 39 additions and 127 deletions

View File

@@ -35,6 +35,7 @@
#include "services/network/public/cpp/features.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "services/network/public/mojom/network_context.mojom.h"
#include "shell/browser/api/electron_api_safe_storage.h"
#include "shell/browser/browser.h"
#include "shell/browser/electron_browser_client.h"
#include "shell/common/application_info.h"
@@ -290,6 +291,10 @@ void SystemNetworkContextManager::OnNetworkServiceCreated(
electron::fuses::IsCookieEncryptionEnabled()) {
network_service->SetEncryptionKey(OSCrypt::GetRawEncryptionKey());
}
#if DCHECK_IS_ON()
electron::safestorage::SetElectronCryptoReady(true);
#endif
}
network::mojom::NetworkContextParamsPtr