diff options
author | noelutz@google.com <noelutz@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-10 19:09:37 +0000 |
---|---|---|
committer | noelutz@google.com <noelutz@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-10 19:09:37 +0000 |
commit | ac4af82ff0e12f045f2b0b4625718ed4e56ed21e (patch) | |
tree | b28b9bc762a85bc85e99e56b65e956cd56e5952d /content/public | |
parent | 80394db7b2a5bb1dbe696fa8a07489ac42bb8bb7 (diff) | |
download | chromium_src-ac4af82ff0e12f045f2b0b4625718ed4e56ed21e.zip chromium_src-ac4af82ff0e12f045f2b0b4625718ed4e56ed21e.tar.gz chromium_src-ac4af82ff0e12f045f2b0b4625718ed4e56ed21e.tar.bz2 |
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
Diffstat (limited to 'content/public')
-rw-r--r-- | content/public/browser/download_manager_delegate.h | 6 |
1 files changed, 2 insertions, 4 deletions
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 |