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

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

Issue 2239133002: [Offline pages] Downloads UI: Adding bridge for issuing notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@download-notifications
Patch Set: Addressing 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
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..ac088c1b803cb95f8ce3862190b4cc924373d886 100644
--- a/components/offline_pages/downloads/download_ui_item.cc
+++ b/components/offline_pages/downloads/download_ui_item.cc
@@ -17,6 +17,13 @@ DownloadUIItem::DownloadUIItem(const OfflinePageItem& page)
start_time(page.creation_time),
total_bytes(page.file_size) {}
+DownloadUIItem::DownloadUIItem(const DownloadUIItem& other)
+ : guid(other.guid),
+ url(other.url),
+ target_path(other.target_path),
+ start_time(other.start_time),
+ total_bytes(other.total_bytes) {}
+
DownloadUIItem::~DownloadUIItem() {
}

Powered by Google App Engine
This is Rietveld 408576698