Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "components/offline_pages/downloads/download_ui_item.h" | |
| 6 | |
| 7 #include "net/base/filename_util.h" | |
|
fgorski
2016/07/26 16:25:21
I believe this is what is breaking the build. Good
Dmitry Titov
2016/07/26 19:56:48
Done.
| |
| 8 | |
| 9 namespace offline_pages { | |
| 10 | |
| 11 DownloadUIItem::DownloadUIItem() | |
| 12 : total_bytes(0) { | |
| 13 } | |
| 14 | |
| 15 DownloadUIItem::DownloadUIItem(const OfflinePageItem& page) | |
| 16 : guid(page.client_id.id), | |
| 17 url(page.url), | |
| 18 target_path(page.file_path), | |
| 19 start_time(page.creation_time), | |
| 20 total_bytes(page.file_size) {} | |
| 21 | |
| 22 DownloadUIItem::~DownloadUIItem() { | |
| 23 } | |
| 24 | |
| 25 } // namespace offline_pages | |
| OLD | NEW |