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

Unified Diff: components/offline_pages/core/offline_page_item.cc

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/core/offline_page_item.cc
diff --git a/components/offline_pages/offline_page_item.cc b/components/offline_pages/core/offline_page_item.cc
similarity index 89%
rename from components/offline_pages/offline_page_item.cc
rename to components/offline_pages/core/offline_page_item.cc
index a0f0cc2f1a38304d3a45fc6dc209168a03c8e5e6..7d83079a2d8ef8edf9b7d204eaf5803cd0572c04 100644
--- a/components/offline_pages/offline_page_item.cc
+++ b/components/offline_pages/core/offline_page_item.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/offline_pages/offline_page_item.h"
+#include "components/offline_pages/core/offline_page_item.h"
namespace offline_pages {
@@ -56,14 +56,11 @@ OfflinePageItem::OfflinePageItem(const GURL& url,
OfflinePageItem::OfflinePageItem(const OfflinePageItem& other) = default;
-OfflinePageItem::~OfflinePageItem() {
-}
+OfflinePageItem::~OfflinePageItem() {}
bool OfflinePageItem::operator==(const OfflinePageItem& other) const {
- return url == other.url &&
- offline_id == other.offline_id &&
- client_id == other.client_id &&
- file_path == other.file_path &&
+ return url == other.url && offline_id == other.offline_id &&
+ client_id == other.client_id && file_path == other.file_path &&
creation_time == other.creation_time &&
last_access_time == other.last_access_time &&
access_count == other.access_count &&
« no previous file with comments | « components/offline_pages/core/offline_page_item.h ('k') | components/offline_pages/core/offline_page_metadata_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698