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

Unified Diff: components/offline_pages/offline_page_model.cc

Issue 2484223005: Store original request URL in offline page metadata table (Closed)
Patch Set: Add and update tests 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_model.cc
diff --git a/components/offline_pages/offline_page_model.cc b/components/offline_pages/offline_page_model.cc
index cd0a93705f20b8ed1807c2f807e2a1641a37f4f7..b24bb5374d9a250348dbc19f390181a35c2b262d 100644
--- a/components/offline_pages/offline_page_model.cc
+++ b/components/offline_pages/offline_page_model.cc
@@ -8,6 +8,10 @@
namespace offline_pages {
+OfflinePageModel::SavePageInfo::SavePageInfo()
+ : proposed_offline_id(OfflinePageModel::kInvalidOfflineId) {
+}
+
// static
bool OfflinePageModel::CanSaveURL(const GURL& url) {
return url.is_valid() && url.SchemeIsHTTPOrHTTPS();

Powered by Google App Engine
This is Rietveld 408576698