feat: expose safestorage backend information on linux (#38873)
* feat: expose safestorage backend information on linux
* Remove gnome-keyring
Refs 4609704
This commit is contained in:
parent
dc671804da
commit
34e7c3696a
9 changed files with 127 additions and 39 deletions
|
@ -35,7 +35,6 @@
|
|||
#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"
|
||||
|
@ -291,10 +290,6 @@ void SystemNetworkContextManager::OnNetworkServiceCreated(
|
|||
electron::fuses::IsCookieEncryptionEnabled()) {
|
||||
network_service->SetEncryptionKey(OSCrypt::GetRawEncryptionKey());
|
||||
}
|
||||
|
||||
#if DCHECK_IS_ON()
|
||||
electron::safestorage::SetElectronCryptoReady(true);
|
||||
#endif
|
||||
}
|
||||
|
||||
network::mojom::NetworkContextParamsPtr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue