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

Unified Diff: chrome/browser/extensions/activity_log/hashed_ad_network_database.h

Issue 277133002: Revert of Resubmit: Add real file for AdNetworks DB (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/extensions/activity_log/hashed_ad_network_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/activity_log/hashed_ad_network_database.h
diff --git a/chrome/browser/extensions/activity_log/hashed_ad_network_database.h b/chrome/browser/extensions/activity_log/hashed_ad_network_database.h
index dae28661ab20c7b8f2c872de92c51803c036d877..74deb7bc78e6bd98badabcd21343ba307f8cd932 100644
--- a/chrome/browser/extensions/activity_log/hashed_ad_network_database.h
+++ b/chrome/browser/extensions/activity_log/hashed_ad_network_database.h
@@ -23,16 +23,9 @@
scoped_refptr<base::RefCountedStaticMemory> memory);
virtual ~HashedAdNetworkDatabase();
- bool is_valid() const { return is_valid_; }
-
private:
// AdNetworkDatabase implementation.
virtual bool IsAdNetwork(const GURL& url) const OVERRIDE;
-
- // Whether or not the database is valid, i.e., has correctly parsed the hash
- // file. If it is not, it will always return false for IsAdNetwork(), since
- // it cannot match against known hashes.
- bool is_valid_;
// The set of partial hashes for known ad networks.
base::hash_set<int64> entries_;
« no previous file with comments | « no previous file | chrome/browser/extensions/activity_log/hashed_ad_network_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698