mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 10:59:14 -04:00
20 lines
886 B
C++
20 lines
886 B
C++
--- chrome/browser/process_singleton_posix.cc.orig 2023-08-17 07:33:31 UTC
|
|
+++ chrome/browser/process_singleton_posix.cc
|
|
@@ -97,7 +97,7 @@
|
|
#include "ui/base/l10n/l10n_util.h"
|
|
#include "ui/base/resource/scoped_startup_resource_bundle.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
|
|
|
|
@@ -355,7 +355,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);
|