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

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

Issue 2647763005: Store the distilled_url in Reading List entry in Reading List on iOS. (Closed)
Patch Set: feedback Created 3 years, 11 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: ios/chrome/browser/reading_list/reading_list_download_service.cc
diff --git a/ios/chrome/browser/reading_list/reading_list_download_service.cc b/ios/chrome/browser/reading_list/reading_list_download_service.cc
index f3337a72187191b810a8480780b0882cecb4d692..6ae9d63f1fbaff627f932bce4ba4842a1c30027d 100644
--- a/ios/chrome/browser/reading_list/reading_list_download_service.cc
+++ b/ios/chrome/browser/reading_list/reading_list_download_service.cc
@@ -192,7 +192,7 @@ void ReadingListDownloadService::OnDownloadEnd(
if ((success == URLDownloader::DOWNLOAD_SUCCESS ||
success == URLDownloader::DOWNLOAD_EXISTS) &&
!distilled_path.empty()) {
- reading_list_model_->SetEntryDistilledPath(url, distilled_path);
+ reading_list_model_->SetEntryDistilledInfo(url, distilled_path, url);
if (!title.empty())
reading_list_model_->SetEntryTitle(url, title);

Powered by Google App Engine
This is Rietveld 408576698