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

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

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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.h
diff --git a/components/offline_pages/downloads/download_ui_item.h b/components/offline_pages/downloads/download_ui_item.h
deleted file mode 100644
index 801c1ef8e10f719e0857f313e6f64627dd9b1c33..0000000000000000000000000000000000000000
--- a/components/offline_pages/downloads/download_ui_item.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_OFFLINE_PAGES_DOWNLOADS_DOWNLOAD_UI_ITEM_H_
-#define COMPONENTS_OFFLINE_PAGES_DOWNLOADS_DOWNLOAD_UI_ITEM_H_
-
-#include <stdint.h>
-
-#include <string>
-
-#include "base/files/file_path.h"
-#include "base/time/time.h"
-#include "url/gurl.h"
-
-namespace offline_pages {
-
-struct OfflinePageItem;
-class SavePageRequest;
-
-struct DownloadUIItem {
- public:
- DownloadUIItem();
- explicit DownloadUIItem(const OfflinePageItem& page);
- explicit DownloadUIItem(const SavePageRequest& request);
- DownloadUIItem(const DownloadUIItem& other);
- ~DownloadUIItem();
-
- // Unique id.
- std::string guid;
-
- // The URL of the captured page.
- GURL url;
-
- // The Title of the captured page, if any. It can be empty string either
- // because the page is not yet fully loaded, or because it doesn't have any.
- base::string16 title;
-
- // The file path to the archive with a local copy of the page.
- base::FilePath target_path;
-
- // The time when the offline archive was created.
- base::Time start_time;
-
- // The size of the offline copy.
- int64_t total_bytes;
-};
-
-} // namespace offline_pages
-
-#endif // COMPONENTS_OFFLINE_PAGES_DOWNLOADS_DOWNLOAD_UI_ITEM_H_

Powered by Google App Engine
This is Rietveld 408576698