diff options
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 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_ |