From ac4af82ff0e12f045f2b0b4625718ed4e56ed21e Mon Sep 17 00:00:00 2001
From: "noelutz@google.com"
 <noelutz@google.com@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Thu, 10 Nov 2011 19:09:37 +0000
Subject: Store the download file hash in the DownloadItem.  This will be
 useful for the improved SafeBrowsing download protection later.

BUG=102540
TEST=No visible change. Run DownloadItemTest, DownloadManagerTest


Review URL: http://codereview.chromium.org/8511020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109471 0039d316-1c4b-4281-b951-d872f2087c98
---
 content/public/browser/download_manager_delegate.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'content/public')

diff --git a/content/public/browser/download_manager_delegate.h b/content/public/browser/download_manager_delegate.h
index 46d6d78..35c60cc 100644
--- a/content/public/browser/download_manager_delegate.h
+++ b/content/public/browser/download_manager_delegate.h
@@ -70,10 +70,8 @@ class DownloadManagerDelegate {
   // Returns true if we need to generate a binary hash for downloads.
   virtual bool GenerateFileHash() = 0;
 
-  // Informs the delegate that given download has finishd downloading, and gives
-  // it the hash (if it chose to compute it from GenerateFileHash()).
-  virtual void OnResponseCompleted(DownloadItem* item,
-                                   const std::string& hash) = 0;
+  // Informs the delegate that given download has finishd downloading.
+  virtual void OnResponseCompleted(DownloadItem* item) = 0;
 
   // Notifies the delegate that a new download item is created. The
   // DownloadManager waits for the delegate to add information about this
-- 
cgit v1.1