summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/safe_browsing_database.h
diff options
context:
space:
mode:
authorpaulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-24 23:02:00 +0000
committerpaulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-24 23:02:00 +0000
commit613a03b2415686990248a3058575a4504e2f0ec3 (patch)
tree01dd1013f78c022b44920a24a94a2326fcef0dc8 /chrome/browser/safe_browsing/safe_browsing_database.h
parentedfa71e63db4db57ee6fafb237e4331cb631824b (diff)
downloadchromium_src-613a03b2415686990248a3058575a4504e2f0ec3.zip
chromium_src-613a03b2415686990248a3058575a4504e2f0ec3.tar.gz
chromium_src-613a03b2415686990248a3058575a4504e2f0ec3.tar.bz2
Changes to allow running the new SafeBrowsing storage system,contained in SafeBrowsingDatabaseBloom, via a command line flag(--new-safe-browsing).
Review URL: http://codereview.chromium.org/6807 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3959 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.h5
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 fe6d586..94b9b76 100644
--- a/chrome/browser/safe_browsing/safe_browsing_database.h
+++ b/chrome/browser/safe_browsing/safe_browsing_database.h
@@ -9,6 +9,7 @@
#include <string>
#include <vector>
+#include "base/ref_counted.h"
#include "base/scoped_ptr.h"
#include "base/task.h"
#include "base/time.h"
@@ -79,7 +80,7 @@ class SafeBrowsingDatabase {
// Called when the user's machine has resumed from a lower power state.
virtual void HandleResume() = 0;
- virtual void UpdateFinished() { }
+ virtual void UpdateFinished(bool update_succeeded) { }
protected:
static std::wstring BloomFilterFilename(const std::wstring& db_filename);
@@ -100,7 +101,7 @@ class SafeBrowsingDatabase {
virtual void IncrementBloomFilterReadCount() {};
std::wstring bloom_filter_filename_;
- scoped_ptr<BloomFilter> bloom_filter_;
+ scoped_refptr<BloomFilter> bloom_filter_;
};
#endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_H_