| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "components/offline_pages/core/prefetch/prefetch_item.h" |
| 6 |
| 7 namespace offline_pages { |
| 8 |
| 9 bool PrefetchItem::operator==(const PrefetchItem& other) const { |
| 10 return id == other.id && client_id == other.client_id && |
| 11 state == other.state && url == other.url && |
| 12 final_archived_url == other.final_archived_url && |
| 13 request_archive_attempt_count == other.request_archive_attempt_count && |
| 14 operation_name == other.operation_name && |
| 15 archive_body_name == other.archive_body_name && |
| 16 archive_body_length == other.archive_body_length && |
| 17 download_id == other.download_id && |
| 18 creation_time == other.creation_time && |
| 19 freshness_time == other.freshness_time && |
| 20 error_code == other.error_code; |
| 21 } |
| 22 |
| 23 } // namespace offline_pages |
| OLD | NEW |