aboutsummaryrefslogtreecommitdiff
path: root/devel/electron32/files/patch-chrome_browser_profiles_profiles__state.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron32/files/patch-chrome_browser_profiles_profiles__state.cc')
-rw-r--r--devel/electron32/files/patch-chrome_browser_profiles_profiles__state.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/devel/electron32/files/patch-chrome_browser_profiles_profiles__state.cc b/devel/electron32/files/patch-chrome_browser_profiles_profiles__state.cc
deleted file mode 100644
index 64b85f7873e6..000000000000
--- a/devel/electron32/files/patch-chrome_browser_profiles_profiles__state.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- chrome/browser/profiles/profiles_state.cc.orig 2024-08-14 20:54:37 UTC
-+++ chrome/browser/profiles/profiles_state.cc
-@@ -196,7 +196,7 @@ bool IsGuestModeRequested(const base::CommandLine& com
- PrefService* local_state,
- bool show_warning) {
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
-- BUILDFLAG(IS_MAC)
-+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- DCHECK(local_state);
-
- // Check if guest mode enforcement commandline switch or policy are provided.
-@@ -243,7 +243,7 @@ bool IsGuestModeEnabled() {
- return false;
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- // If there are any supervised profiles, disable guest mode.
- if (base::FeatureList::IsEnabled(
- supervised_user::kHideGuestModeForSupervisedUsers) &&
-@@ -259,7 +259,7 @@ bool IsGuestModeEnabled(const Profile& profile) {
- }
-
- bool IsGuestModeEnabled(const Profile& profile) {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- if (base::FeatureList::IsEnabled(
- supervised_user::kHideGuestModeForSupervisedUsers)) {
- ProfileAttributesEntry* profile_attributes =