diff options
Diffstat (limited to 'devel/electron37/files/patch-chrome_browser_enterprise_connectors_common.cc')
-rw-r--r-- | devel/electron37/files/patch-chrome_browser_enterprise_connectors_common.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-chrome_browser_enterprise_connectors_common.cc b/devel/electron37/files/patch-chrome_browser_enterprise_connectors_common.cc new file mode 100644 index 000000000000..05c6504a3d34 --- /dev/null +++ b/devel/electron37/files/patch-chrome_browser_enterprise_connectors_common.cc @@ -0,0 +1,20 @@ +--- chrome/browser/enterprise/connectors/common.cc.orig 2025-04-22 20:15:27 UTC ++++ chrome/browser/enterprise/connectors/common.cc +@@ -17,7 +17,7 @@ + #include "components/user_manager/user.h" + #endif + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h" + #include "components/prefs/pref_service.h" + #endif +@@ -192,7 +192,7 @@ std::string GetProfileEmail(Profile* profile) { + std::string email = + GetProfileEmail(IdentityManagerFactory::GetForProfile(profile)); + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + if (email.empty()) { + email = profile->GetPrefs()->GetString( + enterprise_signin::prefs::kProfileUserEmail); |