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

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: Tweaks to README.md and proto 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..b7f8d700bfed63c337ec23bbab1cd9d255b03856
--- /dev/null
+++ b/chrome/browser/resources/safe_browsing/download_file_types.asciipb
@@ -0,0 +1,44 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# See README.md before editing this file.
+#
+# Placeholder for list of file extensions that the download manager
+# knows about.
+# TODO(nparker): Populate this with full list.
+version_id: 1
+sampled_ping_probability: 0.0
+default_file_type {
+ uma_value: 19
+ platform_settings {
+ danger_level: ALLOW_ON_USER_GESTURE
+ auto_open_hint: DISALLOW_AUTO_OPEN
+ ping_setting: SAMPLED_PING
+ }
+}
+#
+# File types:
+#
+file_types {
+ extension: "exe"
+ uma_value: 777
+ platform_settings {
+ danger_level: ALLOW_ON_USER_GESTURE
+ auto_open_hint: DISALLOW_AUTO_OPEN
+ ping_setting: FULL_PING
+ }
+}
+file_types {
+ extension: "zip"
+ uma_value: 888
+ is_archive: true
+ platform_settings {
+ danger_level: NOT_DANGEROUS
+ auto_open_hint: ALLOW_AUTO_OPEN
+ ping_setting: SAMPLED_PING
+ }
+}
+# file_types {...}
+# file_types {...}
+# file_types {...}
« no previous file with comments | « chrome/browser/resources/safe_browsing/README.md ('k') | chrome/browser/resources/safe_browsing/gen_file_type_proto.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698