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

Unified Diff: chrome/browser/android/download/download_manager_service_unittest.cc

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 | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/download/download_manager_service_unittest.cc
diff --git a/chrome/browser/android/download/download_manager_service_unittest.cc b/chrome/browser/android/download/download_manager_service_unittest.cc
index c400c8a400ff7e94afc7016e1f5e035010346e38..7b26c2a7546a287078a5b05a70ef79507a785f7c 100644
--- a/chrome/browser/android/download/download_manager_service_unittest.cc
+++ b/chrome/browser/android/download/download_manager_service_unittest.cc
@@ -115,8 +115,10 @@ class MockDownloadManager : public content::DownloadManager {
MOCK_CONST_METHOD0(GetDelegate, content::DownloadManagerDelegate*());
MOCK_METHOD0(Shutdown, void());
MOCK_METHOD1(GetAllDownloads, void(DownloadVector*));
- MOCK_METHOD3(RemoveDownloadsByOriginAndTime,
- int(const url::Origin&, base::Time, base::Time));
+ MOCK_METHOD3(RemoveDownloadsByURLAndTime,
+ int(const base::Callback<bool(const GURL&)>& url_filter,
+ base::Time,
+ base::Time));
MOCK_METHOD2(RemoveDownloadsBetween, int(base::Time, base::Time));
MOCK_METHOD1(RemoveDownloads, int(base::Time));
MOCK_METHOD0(RemoveAllDownloads, int());
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698