Index: chrome/browser/privacy_blacklist/blacklist.h |
=================================================================== |
--- chrome/browser/privacy_blacklist/blacklist.h (revision 25875) |
+++ chrome/browser/privacy_blacklist/blacklist.h (working copy) |
@@ -158,6 +158,9 @@ |
// caller. |
Match* findMatch(const GURL&) const; |
+ // Returns true if the blacklist object is in good health. |
+ bool is_good() const { return is_good_; } |
+ |
// Helper to remove cookies from a header. |
static std::string StripCookies(const std::string&); |
@@ -173,6 +176,8 @@ |
std::vector<Entry*> blacklist_; |
std::vector<Provider*> providers_; |
+ bool is_good_; // True if the blacklist was read successfully. |
+ |
FRIEND_TEST(BlacklistTest, Generic); |
FRIEND_TEST(BlacklistTest, PatternMatch); |
DISALLOW_COPY_AND_ASSIGN(Blacklist); |