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

Unified Diff: content/public/test/mock_download_manager.h

Issue 1603903002: Add an OriginFilterBuilder class for [white|black]listing origins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase over 1246583002 Created 4 years, 10 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
« no previous file with comments | « content/public/browser/download_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8dadb5206f5242180575fe1cd98461cdc2c50cc0..77a883f9a7beb9451379b810f8a0c3f628a305e1 100644
--- a/content/public/test/mock_download_manager.h
+++ b/content/public/test/mock_download_manager.h
@@ -90,12 +90,10 @@ class MockDownloadManager : public DownloadManager {
MOCK_METHOD2(MockStartDownload,
void(DownloadCreateInfo*, ByteStreamReader*));
- MOCK_METHOD3(RemoveDownloadsByOriginAndTime,
- int(const url::Origin& origin,
+ MOCK_METHOD3(RemoveDownloadsByURLAndTime,
+ int(const base::Callback<bool(const GURL&)>& url_filter,
base::Time remove_begin,
base::Time remove_end));
- MOCK_METHOD2(RemoveDownloadsBetween,
- int(base::Time remove_begin, base::Time remove_end));
MOCK_METHOD0(RemoveAllDownloads, int());
MOCK_METHOD1(DownloadUrlMock, void(DownloadUrlParameters*));
void DownloadUrl(scoped_ptr<DownloadUrlParameters> params) override {
« no previous file with comments | « content/public/browser/download_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698