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

Side by Side Diff: chrome/browser/resources/safe_browsing/download_file_types.asciipb

Issue 1909653002: FileTypePolicies class to load types from proto. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes per jialiul, and set upstream CL 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/safe_browsing/gen_file_type_proto.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # See README.md before editing this file. 5 # See README.md before editing this file.
6 # 6 #
7 # Placeholder for list of file extensions that the download manager 7 # Placeholder for list of file extensions that the download manager
8 # knows about. 8 # knows about.
9 # TODO(nparker): Populate this with full list. 9 # TODO(nparker): Populate this with full list.
10 version_id: 1 10 version_id: 1
11 sampled_ping_probability: 0.0 11 sampled_ping_probability: 0.0
12 default_file_type { 12 default_file_type {
13 uma_value: 19 13 uma_value: 18
14 platform_settings { 14 platform_settings {
15 danger_level: ALLOW_ON_USER_GESTURE 15 danger_level: ALLOW_ON_USER_GESTURE
16 auto_open_hint: DISALLOW_AUTO_OPEN 16 auto_open_hint: DISALLOW_AUTO_OPEN
17 ping_setting: SAMPLED_PING 17 ping_setting: SAMPLED_PING
18 } 18 }
19 } 19 }
20 # 20 #
21 # File types: 21 # File types:
22 # 22 #
23 file_types { 23 file_types {
24 extension: "exe" 24 extension: "exe"
25 uma_value: 777 25 uma_value: 0
26 platform_settings { 26 platform_settings {
27 danger_level: ALLOW_ON_USER_GESTURE 27 danger_level: ALLOW_ON_USER_GESTURE
28 auto_open_hint: DISALLOW_AUTO_OPEN 28 auto_open_hint: DISALLOW_AUTO_OPEN
29 ping_setting: FULL_PING 29 ping_setting: FULL_PING
30 } 30 }
31 } 31 }
32 file_types { 32 file_types {
33 extension: "zip" 33 extension: "zip"
34 uma_value: 888 34 uma_value: 7
35 is_archive: true 35 is_archive: true
36 platform_settings { 36 platform_settings {
37 danger_level: NOT_DANGEROUS 37 danger_level: NOT_DANGEROUS
38 auto_open_hint: ALLOW_AUTO_OPEN 38 auto_open_hint: ALLOW_AUTO_OPEN
39 ping_setting: SAMPLED_PING 39 ping_setting: SAMPLED_PING
40 } 40 }
41 } 41 }
42 # file_types {...} 42 # file_types {...}
43 # file_types {...} 43 # file_types {...}
44 # file_types {...} 44 # file_types {...}
OLDNEW
« no previous file with comments | « no previous file | 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