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 74% |
rename from components/offline_pages/downloads/download_ui_item.cc |
rename to components/offline_pages/core/downloads/download_ui_item.cc |
index a6f1af7d65e21fc41a6035d893ce896280ba01fd..be390612efcf30336d3f2c9818b407f66993fc9d 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), |
@@ -28,7 +26,7 @@ DownloadUIItem::DownloadUIItem(const SavePageRequest& request) |
start_time(request.creation_time()), |
total_bytes(-1L), |
is_offlining(request.request_state() == |
- SavePageRequest::RequestState::OFFLINING) {} |
+ SavePageRequest::RequestState::OFFLINING) {} |
DownloadUIItem::DownloadUIItem(const DownloadUIItem& other) |
: guid(other.guid), |
@@ -39,7 +37,6 @@ DownloadUIItem::DownloadUIItem(const DownloadUIItem& other) |
total_bytes(other.total_bytes), |
is_offlining(other.is_offlining) {} |
-DownloadUIItem::~DownloadUIItem() { |
-} |
+DownloadUIItem::~DownloadUIItem() {} |
} // namespace offline_pages |