diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-15 10:51:29 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-15 10:51:29 +0000 |
commit | 5d30ae6153623cc8f67a036afdb7537ebce0d681 (patch) | |
tree | fbc7a57ba86164b8f5cfd8c1a13e4abfa6269048 /chrome/common/chrome_switches.cc | |
parent | e479082bf5cfe5895dff60271a24b7a410c07c2f (diff) | |
download | chromium_src-5d30ae6153623cc8f67a036afdb7537ebce0d681.zip chromium_src-5d30ae6153623cc8f67a036afdb7537ebce0d681.tar.gz chromium_src-5d30ae6153623cc8f67a036afdb7537ebce0d681.tar.bz2 |
Implement safebrowsing download feedback service, enabled for dev & canary only.
For eligible files, the "Discard" button in the download shelf becomes
"Report & Discard". (Plain "Discard" is still available in the popup menu.)
BUG=169557
Review URL: https://chromiumcodereview.appspot.com/15881012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206571 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r-- | chrome/common/chrome_switches.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 33694c5..706c1e7 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -1248,6 +1248,13 @@ const char kSbDisableExtensionBlacklist[] = const char kSbDisableSideEffectFreeWhitelist[] = "safebrowsing-disable-side-effect-free-whitelist"; +// URL to send safebrowsing download feedback reports to. +const char kSbDownloadFeedbackURL[] = "safebrowsing-download-feedback-url"; + +// Enable safebrowsing download feedback. +const char kSbEnableDownloadFeedback[] = + "safebrowsing-enable-download-feedback"; + // Enables or disables extension scripts badges in the location bar. const char kScriptBadges[] = "script-badges"; |