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

Unified Diff: components/offline_pages/stub_offline_page_model.h

Issue 2503853004: Support getting offline pages also by original URL (Closed)
Patch Set: Rebase 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/stub_offline_page_model.h
diff --git a/components/offline_pages/stub_offline_page_model.h b/components/offline_pages/stub_offline_page_model.h
index aeed349dd1ba2462cc389ffd710ac247ca2f5c24..681f830c0bc038fdb3fab9e306d94c45d9dd9848 100644
--- a/components/offline_pages/stub_offline_page_model.h
+++ b/components/offline_pages/stub_offline_page_model.h
@@ -54,8 +54,9 @@ class StubOfflinePageModel : public OfflinePageModel, public KeyedService {
void GetPageByOfflineId(
int64_t offline_id,
const SingleOfflinePageItemCallback& callback) override;
- void GetPagesByOnlineURL(
- const GURL& online_url,
+ void GetPagesByURL(
+ const GURL& url,
+ bool search_by_final_url_only,
const MultipleOfflinePageItemCallback& callback) override;
void ExpirePages(const std::vector<int64_t>& offline_ids,
const base::Time& expiration_time,

Powered by Google App Engine
This is Rietveld 408576698