summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
authorahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-19 20:35:12 +0000
committerahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-19 20:35:12 +0000
commitfd3a8283024624e88c68de791af7b70987a0faaf (patch)
treefc02b9bf88653661a6dc8141a29241c3b83af576 /content/public
parent9b0b7edebd150add064e9286fe9c3f3da878d8b7 (diff)
downloadchromium_src-fd3a8283024624e88c68de791af7b70987a0faaf.zip
chromium_src-fd3a8283024624e88c68de791af7b70987a0faaf.tar.gz
chromium_src-fd3a8283024624e88c68de791af7b70987a0faaf.tar.bz2
Created DownloadFileManager unit test.
BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118297 Review URL: http://codereview.chromium.org/8978001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118347 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public')
-rw-r--r--content/public/browser/download_manager.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h
index 13e717a5..4d7cfb8 100644
--- a/content/public/browser/download_manager.h
+++ b/content/public/browser/download_manager.h
@@ -153,13 +153,13 @@ class CONTENT_EXPORT DownloadManager
// Remove downloads after remove_begin (inclusive) and before remove_end
// (exclusive). You may pass in null Time values to do an unbounded delete
// in either direction.
- virtual int RemoveDownloadsBetween(const base::Time remove_begin,
- const base::Time remove_end) = 0;
+ virtual int RemoveDownloadsBetween(base::Time remove_begin,
+ base::Time remove_end) = 0;
// Remove downloads will delete all downloads that have a timestamp that is
// the same or more recent than |remove_begin|. The number of downloads
// deleted is returned back to the caller.
- virtual int RemoveDownloads(const base::Time remove_begin) = 0;
+ virtual int RemoveDownloads(base::Time remove_begin) = 0;
// Remove all downloads will delete all downloads. The number of downloads
// deleted is returned back to the caller.
@@ -244,6 +244,8 @@ class CONTENT_EXPORT DownloadManager
// yet in the history map.
virtual DownloadItem* GetActiveDownloadItem(int id) = 0;
+ virtual bool GenerateFileHash() = 0;
+
virtual content::DownloadManagerDelegate* delegate() const = 0;
// For testing only. May be called from tests indirectly (through