Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: chrome/browser/resources/safe_browsing/download_file_types.asciipb

Issue 1857983002: Add download_file_types.proto with ascii->binary conversion, as a resource. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/safe_browsing/download_file_types.asciipb
diff --git a/chrome/browser/resources/safe_browsing/download_file_types.asciipb b/chrome/browser/resources/safe_browsing/download_file_types.asciipb
new file mode 100644
index 0000000000000000000000000000000000000000..553ae1b3726b27ffa13acd3d1d54094c50e52d1f
--- /dev/null
+++ b/chrome/browser/resources/safe_browsing/download_file_types.asciipb
@@ -0,0 +1,40 @@
+# Placeholder for list of file extensions that the download manager
Lei Zhang 2016/04/04 21:24:48 Copyright header.
Nathan Parker 2016/04/04 22:00:53 Done.
+# knows about.
+# TODO(nparker): Populate this with full list..
+version_id: 1
+light_ping_probability: 0.0
+file_type {
+ extension: "exe"
+ uma_value: 777
+ is_archive: false
+ platform_settings {
+ platform: ALL
+ danger_level: ALLOW_ON_USER_GESTURE
+ auto_open_hint: DISALLOW_AUTO_OPEN
+ ping_setting: SEND_FULL_PING
+ }
+}
+file_type {
+ extension: "zip"
+ uma_value: 888
+ is_archive: true
+ platform_settings {
+ platform: ALL
+ danger_level: NOT_DANGEROUS
+ auto_open_hint: ALLOW_AUTO_OPEN
+ ping_setting: SEND_FULL_PING # TODO: what does this mean w/ zip?
+ }
+}
+# file_type {...}
+# file_type {...}
+# file_type {...}
+default_file_type {
+ uma_value: 19
+ is_archive: false
+ platform_settings {
+ platform: ALL
+ danger_level: ALLOW_ON_USER_GESTURE
+ auto_open_hint: DISALLOW_AUTO_OPEN
+ ping_setting: TREAT_AS_UNKNOWN
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698