summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/safe_browsing_util.h
diff options
context:
space:
mode:
authornoelutz@google.com <noelutz@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-21 20:28:41 +0000
committernoelutz@google.com <noelutz@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-21 20:28:41 +0000
commitbefc386449cb7be884668f8c7b1651dd905e560c (patch)
tree92bf66b10120aef111a96ea91cad6ff1ef08b2c1 /chrome/browser/safe_browsing/safe_browsing_util.h
parent790e2fdbb6ca0ce407b4af36584442ee3dd41243 (diff)
downloadchromium_src-befc386449cb7be884668f8c7b1651dd905e560c.zip
chromium_src-befc386449cb7be884668f8c7b1651dd905e560c.tar.gz
chromium_src-befc386449cb7be884668f8c7b1651dd905e560c.tar.bz2
Add a whitelist for the new binary download protection.
BUG=None TEST=SafeBrowsingDatabaseTest Review URL: http://codereview.chromium.org/7863006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102158 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_util.h')
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_util.h b/chrome/browser/safe_browsing/safe_browsing_util.h
index 2911f46..577ffab 100644
--- a/chrome/browser/safe_browsing/safe_browsing_util.h
+++ b/chrome/browser/safe_browsing/safe_browsing_util.h
@@ -266,6 +266,8 @@ extern const char kBinUrlList[];
extern const char kBinHashList[];
// SafeBrowsing client-side detection whitelist list name.
extern const char kCsdWhiteList[];
+// SafeBrowsing download whitelist list name.
+extern const char kDownloadWhiteList[];
enum ListType {
INVALID = -1,
@@ -274,6 +276,10 @@ enum ListType {
BINURL = 2,
BINHASH = 3,
CSDWHITELIST = 4,
+ // SafeBrowsing lists are stored in pairs. Keep ListType 5
+ // available for a potential second list that we would store in the
+ // csd-whitelist store file.
+ DOWNLOADWHITELIST = 6,
};
// Maps a list name to ListType.