aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_resources_safe__browsing_gen__file__type__proto.py
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-chrome_browser_resources_safe__browsing_gen__file__type__proto.py')
-rw-r--r--www/chromium/files/patch-chrome_browser_resources_safe__browsing_gen__file__type__proto.py34
1 files changed, 17 insertions, 17 deletions
diff --git a/www/chromium/files/patch-chrome_browser_resources_safe__browsing_gen__file__type__proto.py b/www/chromium/files/patch-chrome_browser_resources_safe__browsing_gen__file__type__proto.py
index aa7090a7a33f..d82e3a8b5a5e 100644
--- a/www/chromium/files/patch-chrome_browser_resources_safe__browsing_gen__file__type__proto.py
+++ b/www/chromium/files/patch-chrome_browser_resources_safe__browsing_gen__file__type__proto.py
@@ -1,19 +1,19 @@
---- chrome/browser/resources/safe_browsing/gen_file_type_proto.py.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/resources/safe_browsing/gen_file_type_proto.py.orig 2017-03-09 20:04:28 UTC
+++ chrome/browser/resources/safe_browsing/gen_file_type_proto.py
-@@ -50,6 +50,7 @@ def PlatformTypes():
- "android": config_pb2.DownloadFileType.PLATFORM_ANDROID,
- "chromeos": config_pb2.DownloadFileType.PLATFORM_CHROME_OS,
- "linux": config_pb2.DownloadFileType.PLATFORM_LINUX,
-+ "bsd": config_pb2.DownloadFileType.PLATFORM_LINUX,
- "mac": config_pb2.DownloadFileType.PLATFORM_MAC,
- "win": config_pb2.DownloadFileType.PLATFORM_WINDOWS,
+@@ -31,6 +31,7 @@ def PlatformTypes():
+ "android": download_file_types_pb2.DownloadFileType.PLATFORM_ANDROID,
+ "chromeos": download_file_types_pb2.DownloadFileType.PLATFORM_CHROME_OS,
+ "linux": download_file_types_pb2.DownloadFileType.PLATFORM_LINUX,
++ "bsd": download_file_types_pb2.DownloadFileType.PLATFORM_LINUX,
+ "mac": download_file_types_pb2.DownloadFileType.PLATFORM_MAC,
+ "win": download_file_types_pb2.DownloadFileType.PLATFORM_WINDOWS,
}
-@@ -201,7 +202,7 @@ def main():
- 'Outfile must have a %d for version and %s for platform.')
- parser.add_option('-t', '--type',
- help='The platform type. One of android, chromeos, ' +
-- 'linux, mac, win')
-+ 'linux, bsd, mac, win')
- parser.add_option('-i', '--infile',
- help='The ASCII DownloadFileType-proto file to read.')
- parser.add_option('-d', '--outdir',
+@@ -169,7 +170,7 @@ class DownloadFileTypeProtoGenerator(Bin
+ 'Outfile must have a %d for version and %s for platform.')
+ parser.add_option('-t', '--type',
+ help='The platform type. One of android, chromeos, ' +
+- 'linux, mac, win')
++ 'linux, bsd, mac, win')
+
+ def AddExtraCommandLineArgsForVirtualEnvRun(self, opts, command):
+ if opts.type is not None: