From a5a3752356ab9c7703c49e3809da0af7ca998472 Mon Sep 17 00:00:00 2001 From: "paulg@google.com" Date: Tue, 11 Nov 2008 21:49:56 +0000 Subject: Handle the possibility of failure when starting a SafeBrowsing update transaction. If we fail to start the transaction, we report the error to the protocol manager which aborts the update process. Review URL: http://codereview.chromium.org/9778 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5207 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/safe_browsing/safe_browsing_database.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 9e07297..e504054 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database.h +++ b/chrome/browser/safe_browsing/safe_browsing_database.h @@ -82,7 +82,7 @@ class SafeBrowsingDatabase { // Called when the user's machine has resumed from a lower power state. virtual void HandleResume() = 0; - virtual void UpdateStarted() {} + virtual bool UpdateStarted() { return true; } virtual void UpdateFinished(bool update_succeeded) {} virtual std::wstring filename() const { return filename_; } -- cgit v1.1