View | Details | Raw Unified | Return to bug 212925
Collapse All | Expand All

(-)www/chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc (+11 lines)
Line 0 Link Here
1
--- chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig	2017-05-09 19:02:41 UTC
2
+++ chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
3
@@ -277,6 +277,8 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo
4
     info->os = extensions::api::runtime::PLATFORM_OS_CROS;
5
   } else if (strcmp(os, "linux") == 0) {
6
     info->os = extensions::api::runtime::PLATFORM_OS_LINUX;
7
+  } else if (strcmp(os, "freebsd") == 0) {
8
+    info->os = extensions::api::runtime::PLATFORM_OS_FREEBSD;
9
   } else if (strcmp(os, "openbsd") == 0) {
10
     info->os = extensions::api::runtime::PLATFORM_OS_OPENBSD;
11
   } else {
(-)www/chromium/files/patch-extensions_common_api_runtime.json (+11 lines)
Line 0 Link Here
1
--- extensions/common/api/runtime.json.orig	2017-05-09 19:02:47 UTC
2
+++ extensions/common/api/runtime.json
3
@@ -66,7 +66,7 @@
4
         "id": "PlatformOs",
5
         "type": "string",
6
         "description": "The operating system chrome is running on.",
7
-        "enum": ["mac", "win", "android", "cros", "linux", "openbsd"]
8
+        "enum": ["mac", "win", "android", "cros", "linux", "freebsd", "openbsd"]
9
       },
10
       {
11
         "id": "PlatformArch",

Return to bug 212925