| 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..f970897716224dee81fa165e8053487fa9460161 100644
|
| --- a/content/public/browser/download_manager.h
|
| +++ b/content/public/browser/download_manager.h
|
| @@ -44,6 +44,10 @@
|
|
|
| class GURL;
|
|
|
| +namespace url {
|
| +class Origin;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class BrowserContext;
|
| @@ -110,6 +114,12 @@ class CONTENT_EXPORT DownloadManager : public base::SupportsUserData::Data {
|
| scoped_ptr<ByteStreamReader> stream,
|
| const DownloadUrlParameters::OnStartedCallback& on_started) = 0;
|
|
|
| + // Remove downloads which are same-origin with the given origin and pertain to
|
| + // the given time constraints. (See |RemoveDownloadsBetween|.)
|
| + virtual int RemoveDownloadsByOriginAndTime(const url::Origin& origin,
|
| + base::Time remove_begin,
|
| + base::Time remove_end) = 0;
|
| +
|
| // 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.
|
|
|