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

Unified Diff: chrome/browser/privacy_blacklist/blacklist.h

Issue 159199: Load Multiple Blacklists... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | chrome/browser/privacy_blacklist/blacklist.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/privacy_blacklist/blacklist.h
===================================================================
--- chrome/browser/privacy_blacklist/blacklist.h (revision 21552)
+++ chrome/browser/privacy_blacklist/blacklist.h (working copy)
@@ -32,24 +32,21 @@
class Blacklist {
public:
// Filter attributes (more to come):
- static const unsigned int kBlockAll = 1;
- static const unsigned int kDontSendCookies = 1 << 1;
- static const unsigned int kDontStoreCookies = 1 << 2;
- static const unsigned int kDontPersistCookies = 1 << 3;
- static const unsigned int kDontSendReferrer = 1 << 4;
- static const unsigned int kDontSendUserAgent = 1 << 5;
- static const unsigned int kBlockByType = 1 << 6;
- static const unsigned int kBlockUnsecure = 1 << 7;
+ static const unsigned int kBlockAll;
+ static const unsigned int kDontSendCookies;
+ static const unsigned int kDontStoreCookies;
+ static const unsigned int kDontPersistCookies;
+ static const unsigned int kDontSendReferrer;
+ static const unsigned int kDontSendUserAgent;
+ static const unsigned int kBlockByType;
+ static const unsigned int kBlockUnsecure;
// Aggregate filter types:
- static const unsigned int kBlockRequest = kBlockAll | kBlockUnsecure;
- static const unsigned int kBlockResponse = kBlockByType;
- static const unsigned int kModifySentHeaders =
- kDontSendCookies | kDontSendUserAgent | kDontSendReferrer;
- static const unsigned int kModifyReceivedHeaders =
- kDontPersistCookies | kDontStoreCookies;
- static const unsigned int kFilterByHeaders = kModifyReceivedHeaders |
- kBlockByType;
+ static const unsigned int kBlockRequest;
+ static const unsigned int kBlockResponse;
+ static const unsigned int kModifySentHeaders;
+ static const unsigned int kModifyReceivedHeaders;
+ static const unsigned int kFilterByHeaders;
// Key used to access data attached to URLRequest objects.
static const void* const kRequestDataKey;
« no previous file with comments | « no previous file | chrome/browser/privacy_blacklist/blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698