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

Unified Diff: components/offline_pages/downloads/download_ui_item.cc

Issue 2263753002: Add 'title' field to DownloadUIItem and thread through bridges to OfflinePageDownloadItem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback Created 4 years, 4 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/downloads/download_ui_item.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/downloads/download_ui_item.cc
diff --git a/components/offline_pages/downloads/download_ui_item.cc b/components/offline_pages/downloads/download_ui_item.cc
index d19f0212db6dbb471ec37cec5af80160e392f102..59929d4d72535ae4179d1ebecac25446f111aa43 100644
--- a/components/offline_pages/downloads/download_ui_item.cc
+++ b/components/offline_pages/downloads/download_ui_item.cc
@@ -13,6 +13,7 @@ DownloadUIItem::DownloadUIItem()
DownloadUIItem::DownloadUIItem(const OfflinePageItem& page)
: guid(page.client_id.id),
url(page.url),
+ title(page.title),
target_path(page.file_path),
start_time(page.creation_time),
total_bytes(page.file_size) {}
« no previous file with comments | « components/offline_pages/downloads/download_ui_item.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698