aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-chrome_browser_extensions_external__provider__impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-chrome_browser_extensions_external__provider__impl.cc')
-rw-r--r--devel/electron33/files/patch-chrome_browser_extensions_external__provider__impl.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron33/files/patch-chrome_browser_extensions_external__provider__impl.cc b/devel/electron33/files/patch-chrome_browser_extensions_external__provider__impl.cc
new file mode 100644
index 000000000000..c2f1ca3ea079
--- /dev/null
+++ b/devel/electron33/files/patch-chrome_browser_extensions_external__provider__impl.cc
@@ -0,0 +1,20 @@
+--- chrome/browser/extensions/external_provider_impl.cc.orig 2024-10-16 21:30:58 UTC
++++ chrome/browser/extensions/external_provider_impl.cc
+@@ -816,7 +816,7 @@ void ExternalProviderImpl::CreateExternalProviders(
+ if (!profile->GetPrefs()->GetBoolean(pref_names::kBlockExternalExtensions)) {
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
+ // of lacros-chrome is complete.
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+ provider_list->push_back(std::make_unique<ExternalProviderImpl>(
+ service,
+ base::MakeRefCounted<ExternalPrefLoader>(
+@@ -844,7 +844,7 @@ void ExternalProviderImpl::CreateExternalProviders(
+ bundled_extension_creation_flags));
+
+ // Define a per-user source of external extensions.
+-#if BUILDFLAG(IS_MAC) || ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
++#if BUILDFLAG(IS_MAC) || ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \
+ BUILDFLAG(CHROMIUM_BRANDING))
+ provider_list->push_back(std::make_unique<ExternalProviderImpl>(
+ service,