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

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

Issue 2010333004: Make file type MPKG generate a download ping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also fix a SBClientDownload histogram type Created 4 years, 7 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
« no previous file with comments | « no previous file | chrome/common/safe_browsing/download_protection_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index a87180fa611044b23ee68e0871db0e3510223fdc..0a15e6258d302f3db08eaf737110a61833e1c949 100644
--- a/chrome/browser/resources/safe_browsing/download_file_types.asciipb
+++ b/chrome/browser/resources/safe_browsing/download_file_types.asciipb
@@ -8,7 +8,8 @@
##
## Top level settings
##
-version_id: 1
+
+version_id: 2
sampled_ping_probability: 0.0
default_file_type {
uma_value: 18
@@ -2298,6 +2299,17 @@ file_types {
}
}
file_types {
+ # An alias for PKG files, opened by the Mac installer. http://crbug.com/600908
+ extension: "mpkg"
+ uma_value: 263
+ ping_setting: FULL_PING
+ platform_settings {
+ platform: PLATFORM_MAC
+ danger_level: ALLOW_ON_USER_GESTURE
+ auto_open_hint: DISALLOW_AUTO_OPEN
+ }
+}
+file_types {
# Automator workflow
extension: "workflow"
uma_value: 170
@@ -2316,6 +2328,7 @@ file_types {
## Package management formats (non-windows)
file_types {
+ # Used by Mac installer as well as linux
extension: "pkg"
uma_value: 22
ping_setting: FULL_PING
« no previous file with comments | « no previous file | chrome/common/safe_browsing/download_protection_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698