mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
feat: expose safestorage backend information on linux (#38873)
* feat: expose safestorage backend information on linux * Remove gnome-keyring Refs https://chromium-review.googlesource.com/c/chromium/src/+/4609704
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
#include "services/network/public/cpp/shared_url_loader_factory.h"
|
||||
#include "shell/browser/net/system_network_context_manager.h"
|
||||
|
||||
#if BUILDFLAG(IS_LINUX)
|
||||
#include "components/os_crypt/sync/key_storage_util_linux.h"
|
||||
#endif
|
||||
|
||||
namespace printing {
|
||||
class PrintJobManager;
|
||||
}
|
||||
@@ -53,6 +57,11 @@ class BrowserProcessImpl : public BrowserProcess {
|
||||
void SetSystemLocale(const std::string& locale);
|
||||
const std::string& GetSystemLocale() const;
|
||||
|
||||
#if BUILDFLAG(IS_LINUX)
|
||||
void SetLinuxStorageBackend(os_crypt::SelectedLinuxBackend selected_backend);
|
||||
const std::string& GetLinuxStorageBackend() const;
|
||||
#endif
|
||||
|
||||
void EndSession() override {}
|
||||
void FlushLocalStateAndReply(base::OnceClosure reply) override {}
|
||||
bool IsShuttingDown() override;
|
||||
@@ -120,6 +129,9 @@ class BrowserProcessImpl : public BrowserProcess {
|
||||
std::unique_ptr<PrefService> local_state_;
|
||||
std::string locale_;
|
||||
std::string system_locale_;
|
||||
#if BUILDFLAG(IS_LINUX)
|
||||
std::string selected_linux_storage_backend_;
|
||||
#endif
|
||||
embedder_support::OriginTrialsSettingsStorage origin_trials_settings_storage_;
|
||||
|
||||
std::unique_ptr<network::NetworkQualityTracker> network_quality_tracker_;
|
||||
|
||||
Reference in New Issue
Block a user