Chromium Code Reviews| 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 && |