diff options
author | asanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-24 00:16:34 +0000 |
---|---|---|
committer | asanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-24 00:16:34 +0000 |
commit | 7c6d577d3884e307d9b5eadd7444ce07d3ee3536 (patch) | |
tree | 4e54f299c442e3767a73c03fc5eaa7fa1b1dc718 /net | |
parent | cca4f13ac3ec01a3c2d73d567332c885fc2352ae (diff) | |
download | chromium_src-7c6d577d3884e307d9b5eadd7444ce07d3ee3536.zip chromium_src-7c6d577d3884e307d9b5eadd7444ce07d3ee3536.tar.gz chromium_src-7c6d577d3884e307d9b5eadd7444ce07d3ee3536.tar.bz2 |
Warn users about potentially unwanted downloads.
Exposes POTENTIALLY_UNWANTED ClientDownloadResponse verdict from the
SafeBrowsing service to ChromeDownloadManagerDelegate. Downloads for
which this verdict is seen will be marked with the danger type
DOWNLOAD_DANGER_TYPE_POTENTIALLY_UNWANTED.
A dangerous download prompt will be displayed on the download shelf
indicating that the download may make changes to the browser or
system.
Changes are for Windows only since the POTENTIALLY_UNWANTED signal is
only implemented for Windows.
BUG=262983
Review URL: https://chromiumcodereview.appspot.com/19863005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213289 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/net_log_event_type_list.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h index 2f4b052..4c2f6d0 100644 --- a/net/base/net_log_event_type_list.h +++ b/net/base/net_log_event_type_list.h @@ -1825,7 +1825,8 @@ EVENT_TYPE(DOWNLOAD_URL_REQUEST) // the filename specified in the final URL>, // "danger_type": <NOT_DANGEROUS, DANGEROUS_FILE, DANGEROUS_URL, // DANGEROUS_CONTENT, MAYBE_DANGEROUS_CONTENT, -// UNCOMMON_CONTENT, USER_VALIDATED, DANGEROUS_HOST>, +// UNCOMMON_CONTENT, USER_VALIDATED, DANGEROUS_HOST, +// POTENTIALLY_UNWANTED>, // "start_offset": <Where to start writing (defaults to 0)>, // "has_user_gesture": <Whether or not we think the user initiated // the download> |