| Index: components/offline_pages/core/downloads/download_ui_item.cc
|
| diff --git a/components/offline_pages/downloads/download_ui_item.cc b/components/offline_pages/core/downloads/download_ui_item.cc
|
| similarity index 75%
|
| rename from components/offline_pages/downloads/download_ui_item.cc
|
| rename to components/offline_pages/core/downloads/download_ui_item.cc
|
| index 13af20ba27cdbf19a5af7c43d0ae0342c25bbf2b..c5bdef820282100d5ef0eb5204db95f76c19677e 100644
|
| --- a/components/offline_pages/downloads/download_ui_item.cc
|
| +++ b/components/offline_pages/core/downloads/download_ui_item.cc
|
| @@ -2,16 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "components/offline_pages/downloads/download_ui_item.h"
|
| +#include "components/offline_pages/core/downloads/download_ui_item.h"
|
|
|
| -#include "components/offline_pages/background/save_page_request.h"
|
| -#include "components/offline_pages/offline_page_item.h"
|
| +#include "components/offline_pages/core/background/save_page_request.h"
|
| +#include "components/offline_pages/core/offline_page_item.h"
|
|
|
| namespace offline_pages {
|
|
|
| -DownloadUIItem::DownloadUIItem()
|
| - : total_bytes(0) {
|
| -}
|
| +DownloadUIItem::DownloadUIItem() : total_bytes(0) {}
|
|
|
| DownloadUIItem::DownloadUIItem(const OfflinePageItem& page)
|
| : guid(page.client_id.id),
|
| @@ -35,7 +33,6 @@ DownloadUIItem::DownloadUIItem(const DownloadUIItem& other)
|
| start_time(other.start_time),
|
| total_bytes(other.total_bytes) {}
|
|
|
| -DownloadUIItem::~DownloadUIItem() {
|
| -}
|
| +DownloadUIItem::~DownloadUIItem() {}
|
|
|
| } // namespace offline_pages
|
|
|