aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-electron_shell_browser_browser__process__impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-electron_shell_browser_browser__process__impl.h')
-rw-r--r--devel/electron33/files/patch-electron_shell_browser_browser__process__impl.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/electron33/files/patch-electron_shell_browser_browser__process__impl.h b/devel/electron33/files/patch-electron_shell_browser_browser__process__impl.h
new file mode 100644
index 000000000000..35e03e8fd756
--- /dev/null
+++ b/devel/electron33/files/patch-electron_shell_browser_browser__process__impl.h
@@ -0,0 +1,29 @@
+--- electron/shell/browser/browser_process_impl.h.orig 2024-10-22 02:29:46 UTC
++++ electron/shell/browser/browser_process_impl.h
+@@ -21,7 +21,7 @@
+ #include "services/network/public/cpp/shared_url_loader_factory.h"
+ #include "shell/browser/net/system_network_context_manager.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "components/os_crypt/sync/key_storage_util_linux.h"
+ #endif
+
+@@ -60,7 +60,7 @@ class BrowserProcessImpl : public BrowserProcess {
+ const std::string& GetSystemLocale() const;
+ electron::ResolveProxyHelper* GetResolveProxyHelper();
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ void SetLinuxStorageBackend(os_crypt::SelectedLinuxBackend selected_backend);
+ [[nodiscard]] const std::string& linux_storage_backend() const {
+ return selected_linux_storage_backend_;
+@@ -150,7 +150,7 @@ class BrowserProcessImpl : public BrowserProcess {
+ std::unique_ptr<PrefService> local_state_;
+ std::string locale_;
+ std::string system_locale_;
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ std::string selected_linux_storage_backend_;
+ #endif
+ embedder_support::OriginTrialsSettingsStorage origin_trials_settings_storage_;