14 lines
581 B
C++
14 lines
581 B
C++
$NetBSD$
|
|
|
|
--- chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2020-07-08 21:40:34.000000000 +0000
|
|
+++ chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
|
|
@@ -294,6 +294,8 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo
|
|
info->os = extensions::api::runtime::PLATFORM_OS_LINUX;
|
|
} else if (strcmp(os, "openbsd") == 0) {
|
|
info->os = extensions::api::runtime::PLATFORM_OS_OPENBSD;
|
|
+ } else if (strcmp(os, "netbsd") == 0) {
|
|
+ info->os = extensions::api::runtime::PLATFORM_OS_NETBSD;
|
|
} else {
|
|
NOTREACHED();
|
|
return false;
|