diff options
author | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-02 22:13:41 +0000 |
---|---|---|
committer | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-02 22:13:41 +0000 |
commit | aad08754d7ff3be93fd415a36a588fadd2e34bd0 (patch) | |
tree | debef6a2e7162b7b08ad0218384dfa607f9ccac8 /chrome/browser/safe_browsing/safe_browsing_database.h | |
parent | aa87dd3130e941327c40cceb145c4fc58954ecb6 (diff) | |
download | chromium_src-aad08754d7ff3be93fd415a36a588fadd2e34bd0.zip chromium_src-aad08754d7ff3be93fd415a36a588fadd2e34bd0.tar.gz chromium_src-aad08754d7ff3be93fd415a36a588fadd2e34bd0.tar.bz2 |
A partially working implementation of a faster safe browsing implementation.
Review URL: http://codereview.chromium.org/5643
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2814 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_database.h')
-rw-r--r-- | chrome/browser/safe_browsing/safe_browsing_database.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_database.h b/chrome/browser/safe_browsing/safe_browsing_database.h index b481ba5..fe6d586 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database.h +++ b/chrome/browser/safe_browsing/safe_browsing_database.h @@ -79,6 +79,8 @@ class SafeBrowsingDatabase { // Called when the user's machine has resumed from a lower power state. virtual void HandleResume() = 0; + virtual void UpdateFinished() { } + protected: static std::wstring BloomFilterFilename(const std::wstring& db_filename); @@ -93,10 +95,9 @@ class SafeBrowsingDatabase { // Implementation specific bloom filter building. virtual void BuildBloomFilter() = 0; - virtual void AddHostToBloomFilter(int host_key) = 0; // Measuring false positive rate. Call this each time we look in the filter. - virtual void IncrementBloomFilterReadCount() = 0; + virtual void IncrementBloomFilterReadCount() {}; std::wstring bloom_filter_filename_; scoped_ptr<BloomFilter> bloom_filter_; |