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

Unified Diff: components/offline_pages/downloads/download_ui_adapter.h

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/downloads/download_ui_adapter.h
diff --git a/components/offline_pages/downloads/download_ui_adapter.h b/components/offline_pages/downloads/download_ui_adapter.h
index a8ea99be966218913d20a2441b1f309a78e3f666..1a5e9745269f167b3a95f367e6a431dbbf9f665d 100644
--- a/components/offline_pages/downloads/download_ui_adapter.h
+++ b/components/offline_pages/downloads/download_ui_adapter.h
@@ -72,7 +72,6 @@ class DownloadUIAdapter : public OfflinePageModel::Observer,
// Commands from UI. Start async operations, result is observable
// via Observer or directly by the user (as in 'open').
void DeleteItem(const std::string& guid);
- GURL GetOfflineUrlByGuid(const std::string& guid) const;
// OfflinePageModel::Observer
void OfflinePageModelLoaded(OfflinePageModel* model) override;
@@ -94,7 +93,6 @@ class DownloadUIAdapter : public OfflinePageModel::Observer,
std::unique_ptr<DownloadUIItem> ui_item;
// Additional cached data, not exposed to UI through DownloadUIItem.
int64_t offline_id;
- GURL offline_url;
private:
DISALLOW_COPY_AND_ASSIGN(ItemInfo);

Powered by Google App Engine
This is Rietveld 408576698