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

Unified Diff: components/offline_pages/offline_page_item.cc

Issue 2284933002: Remove OfflineURL from offline page (Closed)
Patch Set: Fix trybot Created 4 years, 4 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
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 55cf901766ccf80c5043cd6937be3e3469c70345..ed53f6a2aad36c43e8f753f9ce0de2adcf0ba88c 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 {
namespace {
@@ -71,10 +69,6 @@ OfflinePageItem::OfflinePageItem(const OfflinePageItem& other) = default;
OfflinePageItem::~OfflinePageItem() {
}
-GURL OfflinePageItem::GetOfflineURL() const {
- return net::FilePathToFileURL(file_path);
-}
-
bool OfflinePageItem::IsExpired() const {
return creation_time < expiration_time;
}

Powered by Google App Engine
This is Rietveld 408576698