$OpenBSD: patch-extensions_shell_browser_api_runtime_shell_runtime_api_delegate_cc,v 1.6 2021/10/29 14:49:41 robert Exp $

Index: extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc
--- extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc.orig
+++ extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc
@@ -45,7 +45,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 defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#elif defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
   info->os = api::runtime::PLATFORM_OS_LINUX;
 #endif
   return true;
