Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1165)

Unified Diff: content/public/browser/download_manager.h

Issue 1251243003: Support restricting browsing data removal for downloads by origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698