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

Unified Diff: content/public/test/mock_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/test/mock_download_manager.h
diff --git a/content/public/test/mock_download_manager.h b/content/public/test/mock_download_manager.h
index a67c2e8db4b54486955e6ce6be9e639f2d9260b7..23b9fe6dde3b3185375bd186c3aa31309593de06 100644
--- a/content/public/test/mock_download_manager.h
+++ b/content/public/test/mock_download_manager.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_PUBLIC_TEST_MOCK_DOWNLOAD_MANAGER_H_
#define CONTENT_PUBLIC_TEST_MOCK_DOWNLOAD_MANAGER_H_
+#include <set>
#include <string>
#include <vector>
@@ -88,8 +89,10 @@ class MockDownloadManager : public DownloadManager {
MOCK_METHOD2(MockStartDownload,
void(DownloadCreateInfo*, ByteStreamReader*));
- MOCK_METHOD2(RemoveDownloadsBetween, int(base::Time remove_begin,
- base::Time remove_end));
+ MOCK_METHOD3(RemoveDownloadsBetween, int(
+ const std::set<GURL>& restricted_urls,
+ base::Time remove_begin,
+ base::Time remove_end));
MOCK_METHOD1(RemoveDownloads, int(base::Time remove_begin));
MOCK_METHOD0(RemoveAllDownloads, int());
MOCK_METHOD1(DownloadUrlMock, void(DownloadUrlParameters*));
« content/public/browser/download_manager.h ('K') | « content/public/browser/download_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698