mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 04:19:17 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html
20 lines
866 B
C++
20 lines
866 B
C++
--- chrome/browser/process_singleton_posix.cc.orig 2023-02-08 09:03:45 UTC
|
|
+++ chrome/browser/process_singleton_posix.cc
|
|
@@ -96,7 +96,7 @@
|
|
#include "net/base/network_interfaces.h"
|
|
#include "ui/base/l10n/l10n_util.h"
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
#include "chrome/browser/ui/process_singleton_dialog_linux.h"
|
|
#endif
|
|
|
|
@@ -350,7 +350,7 @@ bool DisplayProfileInUseError(const base::FilePath& lo
|
|
if (g_disable_prompt)
|
|
return g_user_opted_unlock_in_use_profile;
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
std::u16string relaunch_button_text =
|
|
l10n_util::GetStringUTF16(IDS_PROFILE_IN_USE_LINUX_RELAUNCH);
|
|
return ShowProcessSingletonDialog(error, relaunch_button_text);
|