$OpenBSD: patch-components_safe_browsing_content_resources_gen_file_type_proto_py,v 1.1 2021/10/29 14:49:40 robert Exp $

Index: components/safe_browsing/content/resources/gen_file_type_proto.py
--- components/safe_browsing/content/resources/gen_file_type_proto.py.orig
+++ components/safe_browsing/content/resources/gen_file_type_proto.py
@@ -34,6 +34,7 @@ def PlatformTypes():
         "chromeos":
         download_file_types_pb2.DownloadFileType.PLATFORM_CHROME_OS,
         "linux": download_file_types_pb2.DownloadFileType.PLATFORM_LINUX,
+        "openbsd": download_file_types_pb2.DownloadFileType.PLATFORM_LINUX,
         "mac": download_file_types_pb2.DownloadFileType.PLATFORM_MAC,
         "win": download_file_types_pb2.DownloadFileType.PLATFORM_WINDOWS,
     }
@@ -178,7 +179,7 @@ class DownloadFileTypeProtoGenerator(BinaryProtoGenera
             '-t',
             '--type',
             help='The platform type. One of android, chromeos, ' +
-            'linux, mac, win')
+            'linux, mac, win, openbsd')
 
     def AddExtraCommandLineArgsForVirtualEnvRun(self, opts, command):
         if opts.type is not None:
