blob: 08572bb070991dc20d928cb10a592cc1635fa347 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc.orig 2023-04-08 11:38:38 UTC
+++ extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc
@@ -44,7 +44,7 @@ void ShellRuntimeAPIDelegate::OpenURL(const GURL& unin
bool ShellRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
#if BUILDFLAG(IS_CHROMEOS_ASH)
info->os = api::runtime::PLATFORM_OS_CROS;
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
info->os = api::runtime::PLATFORM_OS_LINUX;
#endif
return true;
|