blob: 3c8a1aa478c52d4fb16fec8471d7475eb8bff221 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc.orig 2020-11-13 06:36:43 UTC
+++ 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 defined(OS_CHROMEOS)
info->os = api::runtime::PLATFORM_OS_CROS;
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
info->os = api::runtime::PLATFORM_OS_LINUX;
#endif
return true;
|