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

Unified Diff: components/offline_pages/offline_page_item.cc

Issue 2484223005: Store original request URL in offline page metadata table (Closed)
Patch Set: Address feedback 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/offline_page_item.cc
diff --git a/components/offline_pages/offline_page_item.cc b/components/offline_pages/offline_page_item.cc
index 41b96e0e919c46d8eed0d889d382ae404d6b82c8..0a8a76311b63d1f5a5d044703355b8ed62b0082f 100644
--- a/components/offline_pages/offline_page_item.cc
+++ b/components/offline_pages/offline_page_item.cc
@@ -69,7 +69,8 @@ bool OfflinePageItem::operator==(const OfflinePageItem& other) const {
expiration_time == other.expiration_time &&
access_count == other.access_count &&
title == other.title &&
- flags == other.flags;
+ flags == other.flags &&
+ original_url == other.original_url;
}
bool OfflinePageItem::IsExpired() const {
« no previous file with comments | « components/offline_pages/offline_page_item.h ('k') | components/offline_pages/offline_page_metadata_store_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698