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

Unified Diff: components/offline_pages/core/downloads/download_ui_adapter_unittest.cc

Issue 2713013002: Track original URL when downloading a redirected page (Closed)
Patch Set: Update BUILD.gn to fix DEP check in analyze Created 3 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 | « components/offline_pages/core/background/save_page_request_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/core/downloads/download_ui_adapter_unittest.cc
diff --git a/components/offline_pages/core/downloads/download_ui_adapter_unittest.cc b/components/offline_pages/core/downloads/download_ui_adapter_unittest.cc
index aed16092057880da8bb8cf52210ea16d4fa05094..12db77e5dc7491144b54dad23fc5011f3f774c9f 100644
--- a/components/offline_pages/core/downloads/download_ui_adapter_unittest.cc
+++ b/components/offline_pages/core/downloads/download_ui_adapter_unittest.cc
@@ -231,9 +231,10 @@ void DownloadUIAdapterTest::PumpLoop() {
int64_t DownloadUIAdapterTest::AddRequest(const GURL& url,
const ClientId& client_id) {
- return request_coordinator()->SavePageLater(
- url, client_id, /* user_requested */ true,
- RequestCoordinator::RequestAvailability::ENABLED_FOR_OFFLINER);
+ RequestCoordinator::SavePageLaterParams params;
+ params.url = url;
+ params.client_id = client_id;
+ return request_coordinator()->SavePageLater(params);
}
TEST_F(DownloadUIAdapterTest, InitialLoad) {
« no previous file with comments | « components/offline_pages/core/background/save_page_request_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698