diff options
author | paulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-11 21:49:56 +0000 |
---|---|---|
committer | paulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-11 21:49:56 +0000 |
commit | a5a3752356ab9c7703c49e3809da0af7ca998472 (patch) | |
tree | 327e73f68387c53219dac46afc13fe6962485a17 /chrome/browser/safe_browsing/safe_browsing_service.h | |
parent | e77ea34b5c0bef7f64399256968263058d6b24f2 (diff) | |
download | chromium_src-a5a3752356ab9c7703c49e3809da0af7ca998472.zip chromium_src-a5a3752356ab9c7703c49e3809da0af7ca998472.tar.gz chromium_src-a5a3752356ab9c7703c49e3809da0af7ca998472.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_service.h')
-rw-r--r-- | chrome/browser/safe_browsing/safe_browsing_service.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h index d85dd89..9c07636 100644 --- a/chrome/browser/safe_browsing/safe_browsing_service.h +++ b/chrome/browser/safe_browsing/safe_browsing_service.h @@ -136,8 +136,7 @@ class SafeBrowsingService void HandleChunkDelete(std::vector<SBChunkDelete>* chunk_deletes); void GetAllChunks(); - // Methods called to indicate the beginning and end of a complete update. - void UpdateStarted(); + // Called when a complete update cycle has finished. void UpdateFinished(bool update_succeeded); // The blocking page on the UI thread has completed. @@ -209,7 +208,6 @@ class SafeBrowsingService void NotifyClientBlockingComplete(Client* client, bool proceed); - void DatabaseUpdateStarted(); void DatabaseUpdateFinished(bool update_succeeded); void Start(); |