From 613a03b2415686990248a3058575a4504e2f0ec3 Mon Sep 17 00:00:00 2001 From: "paulg@google.com" Date: Fri, 24 Oct 2008 23:02:00 +0000 Subject: 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 --- chrome/browser/safe_browsing/safe_browsing_database.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chrome/browser/safe_browsing/safe_browsing_database.h') 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 #include +#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 bloom_filter_; + scoped_refptr bloom_filter_; }; #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_H_ -- cgit v1.1