summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/protocol_manager.cc
diff options
context:
space:
mode:
authorpaulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 21:49:56 +0000
committerpaulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 21:49:56 +0000
commita5a3752356ab9c7703c49e3809da0af7ca998472 (patch)
tree327e73f68387c53219dac46afc13fe6962485a17 /chrome/browser/safe_browsing/protocol_manager.cc
parente77ea34b5c0bef7f64399256968263058d6b24f2 (diff)
downloadchromium_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/protocol_manager.cc')
-rw-r--r--chrome/browser/safe_browsing/protocol_manager.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/protocol_manager.cc b/chrome/browser/safe_browsing/protocol_manager.cc
index 1e760c6..bc37759 100644
--- a/chrome/browser/safe_browsing/protocol_manager.cc
+++ b/chrome/browser/safe_browsing/protocol_manager.cc
@@ -272,7 +272,6 @@ bool SafeBrowsingProtocolManager::HandleServiceResponse(const GURL& url,
}
last_update_ = Time::Now();
- sb_service_->UpdateStarted();
if (update_state_ == FIRST_REQUEST)
update_state_ = SECOND_REQUEST;