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

Unified Diff: components/offline_pages/offline_page_item.cc

Issue 2284933002: Remove OfflineURL from offline page (Closed)
Patch Set: Add comment per feedback Created 4 years, 2 months 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
« no previous file with comments | « components/offline_pages/offline_page_item.h ('k') | components/offline_pages/offline_page_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dfa9835f9ee3e410bb2107910f7df6a7c30bdcae..41b96e0e919c46d8eed0d889d382ae404d6b82c8 100644
--- a/components/offline_pages/offline_page_item.cc
+++ b/components/offline_pages/offline_page_item.cc
@@ -4,8 +4,6 @@
#include "components/offline_pages/offline_page_item.h"
-#include "net/base/filename_util.h"
-
namespace offline_pages {
ClientId::ClientId() : name_space(""), id("") {}
@@ -74,10 +72,6 @@ bool OfflinePageItem::operator==(const OfflinePageItem& other) const {
flags == other.flags;
}
-GURL OfflinePageItem::GetOfflineURL() const {
- return net::FilePathToFileURL(file_path);
-}
-
bool OfflinePageItem::IsExpired() const {
return creation_time < expiration_time;
}
« no previous file with comments | « components/offline_pages/offline_page_item.h ('k') | components/offline_pages/offline_page_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698