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

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: more rebase Created 4 years, 1 month 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 90%
rename from components/offline_pages/offline_page_item.cc
rename to components/offline_pages/core/offline_page_item.cc
index 0a8a76311b63d1f5a5d044703355b8ed62b0082f..e13398e9221b747a6de26d6d0d703c327c45aa44 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 &&
Pete Williamson 2016/12/06 02:02:24 I think this was also easier to read before the gi
+ client_id == other.client_id && file_path == other.file_path &&
creation_time == other.creation_time &&
last_access_time == other.last_access_time &&
expiration_time == other.expiration_time &&

Powered by Google App Engine
This is Rietveld 408576698