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

Unified Diff: components/offline_pages/stub_offline_page_model.h

Issue 2503853004: Support getting offline pages also by original URL (Closed)
Patch Set: Make NTP redirect work per comment 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..a1031fa3e18578483f11f477fcfe87f8a1835864 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,
+ URLSearchMode url_search_mode,
const MultipleOfflinePageItemCallback& callback) override;
void ExpirePages(const std::vector<int64_t>& offline_ids,
const base::Time& expiration_time,
« no previous file with comments | « components/offline_pages/offline_page_model_impl_unittest.cc ('k') | components/offline_pages/stub_offline_page_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698