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

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

Issue 2393703003: Mark APK downloads as dangerous on Android (Closed)
Patch Set: Created 4 years, 2 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 | no next file » | 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 1803ff073306ae5262996198a933bbf2ac9cb1d9..077cdeaababab8b6c748ae6e72ee10f4e53d2442 100644
--- a/chrome/browser/resources/safe_browsing/download_file_types.asciipb
+++ b/chrome/browser/resources/safe_browsing/download_file_types.asciipb
@@ -8,7 +8,7 @@
##
## Top level settings
##
-version_id: 4
+version_id: 5
sampled_ping_probability: 0.01
default_file_type {
uma_value: 18
@@ -2638,6 +2638,8 @@ file_types {
##
## Android-specific files
##
+# Android doesn't have real download-protection, but we can show a
+# warning to provide a speed bump for dangerous file types.
file_types {
extension: "dex"
uma_value: 143
@@ -2649,8 +2651,12 @@ file_types {
}
}
file_types {
- # Android download manager checks APKs
extension: "apk"
uma_value: 20
ping_setting: FULL_PING
+ platform_settings {
+ platform: PLATFORM_ANDROID
+ danger_level: ALLOW_ON_USER_GESTURE
+ auto_open_hint: DISALLOW_AUTO_OPEN
+ }
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698