Chromium Code Reviews| Index: content/public/browser/download_manager.h |
| diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h |
| index 74cb77d6d4da6560517efca3dfff1fec8c1a8a39..b0ae98813a42484b1b2ce814ddb2372f3abe5476 100644 |
| --- a/content/public/browser/download_manager.h |
| +++ b/content/public/browser/download_manager.h |
| @@ -27,6 +27,7 @@ |
| #ifndef CONTENT_PUBLIC_BROWSER_DOWNLOAD_MANAGER_H_ |
| #define CONTENT_PUBLIC_BROWSER_DOWNLOAD_MANAGER_H_ |
| +#include <set> |
| #include <string> |
| #include <vector> |
| @@ -113,7 +114,8 @@ class CONTENT_EXPORT DownloadManager : public base::SupportsUserData::Data { |
| // Remove downloads after remove_begin (inclusive) and before remove_end |
|
Mike West
2015/07/22 20:16:03
Poke at the comment to describe the new parameter.
Timo Reimann
2015/07/23 23:11:07
Done.
|
| // (exclusive). You may pass in null Time values to do an unbounded delete |
| // in either direction. |
| - virtual int RemoveDownloadsBetween(base::Time remove_begin, |
| + virtual int RemoveDownloadsBetween(const std::set<GURL>& restricted_urls, |
| + base::Time remove_begin, |
| base::Time remove_end) = 0; |
| // Remove downloads will delete all downloads that have a timestamp that is |