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

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

Issue 2340133005: Merge M54: Support serving offline page by offline ID (Closed)
Patch Set: Created 4 years, 3 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 20c9e3ea9a382950935b9dbfa68c90f767e3db60..f0fdfa9b28bd03eab619059e93794dbdeef00811 100644
--- a/components/offline_pages/downloads/download_ui_adapter.h
+++ b/components/offline_pages/downloads/download_ui_adapter.h
@@ -76,7 +76,7 @@ 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;
+ int64_t GetOfflineIdByGuid(const std::string& guid) const;
// OfflinePageModel::Observer
void OfflinePageModelLoaded(OfflinePageModel* model) override;
« no previous file with comments | « chrome/test/data/offline_pages/hello.mhtml ('k') | components/offline_pages/downloads/download_ui_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698