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

Unified Diff: ios/chrome/browser/reading_list/url_downloader_unittest.cc

Issue 2491383002: Use Distilled path instead of DistilledURL. (Closed)
Patch Set: fix compilation Created 4 years, 1 month 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 | « ios/chrome/browser/reading_list/url_downloader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/reading_list/url_downloader_unittest.cc
diff --git a/ios/chrome/browser/reading_list/url_downloader_unittest.cc b/ios/chrome/browser/reading_list/url_downloader_unittest.cc
index f71220b34b2672c67282038632950ec0399771d9..e5df3edc50d6fce3d3b3a99204fb668ce027bb2e 100644
--- a/ios/chrome/browser/reading_list/url_downloader_unittest.cc
+++ b/ios/chrome/browser/reading_list/url_downloader_unittest.cc
@@ -47,7 +47,7 @@ class MockURLDownloader : public URLDownloader {
base::Unretained(this))) {}
void RemoveOfflineFilesDirectory() {
- base::DeleteFile(OfflineDirectoryPath(), true);
+ base::DeleteFile(OfflineRootDirectoryPath(), true);
}
void ClearCompletionTrackers() {
@@ -56,7 +56,7 @@ class MockURLDownloader : public URLDownloader {
}
bool CheckExistenceOfOfflineURLPagePath(const GURL& url) {
- return base::PathExists(OfflineURLPagePath(url));
+ return base::PathExists(OfflinePageAbsolutePath(url));
}
void FakeWorking() { working_ = true; }
@@ -82,7 +82,7 @@ class MockURLDownloader : public URLDownloader {
void OnEndDownload(const GURL& url,
SuccessState success,
- const GURL& distilledURL,
+ const base::FilePath& distilled_path,
const std::string& title) {
downloaded_files_.push_back(url);
}
« no previous file with comments | « ios/chrome/browser/reading_list/url_downloader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698