summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/protocol_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/protocol_manager.h')
-rw-r--r--chrome/browser/safe_browsing/protocol_manager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/safe_browsing/protocol_manager.h b/chrome/browser/safe_browsing/protocol_manager.h
index bb64f67..62c392f 100644
--- a/chrome/browser/safe_browsing/protocol_manager.h
+++ b/chrome/browser/safe_browsing/protocol_manager.h
@@ -131,6 +131,9 @@ class SafeBrowsingProtocolManager : public URLFetcher::Delegate {
// Update internal state for each GetHash response error.
void HandleGetHashError();
+ // Helper function for update completion.
+ void UpdateFinished(bool success);
+
private:
// Main SafeBrowsing interface object.
SafeBrowsingService* sb_service_;
@@ -207,6 +210,9 @@ class SafeBrowsingProtocolManager : public URLFetcher::Delegate {
// Used for measuring chunk request latency.
base::Time chunk_request_start_;
+ // Track the size of each update (in bytes).
+ int update_size_;
+
DISALLOW_COPY_AND_ASSIGN(SafeBrowsingProtocolManager);
};