blob: 833bb47a67e4191e122560807c92fdb4c9e0e204 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2023-12-23 12:33:28 UTC
+++ chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
@@ -279,7 +279,9 @@ bool ChromeRuntimeAPIDelegate::GetPlatformInfo(Platfor
} else if (strcmp(os, "linux") == 0) {
info->os = extensions::api::runtime::PlatformOs::kLinux;
} else if (strcmp(os, "openbsd") == 0) {
- info->os = extensions::api::runtime::PlatformOs::kOpenbsd;
+ info->os = extensions::api::runtime::PlatformOs::kLinux;
+ } else if (strcmp(os, "freebsd") == 0) {
+ info->os = extensions::api::runtime::PlatformOs::kLinux;
} else if (strcmp(os, "fuchsia") == 0) {
info->os = extensions::api::runtime::PlatformOs::kFuchsia;
} else {
|