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

Unified Diff: components/offline_pages/stub_offline_page_model.h

Issue 2275833002: [Offline Pages] Don't remove user-requested pages when deleting cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments. 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/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 d5e0fb80b31c1be0a2999ab587c0ac705f48924d..c08d46a539a8c013665ffe2cec331ad5c1511387 100644
--- a/components/offline_pages/stub_offline_page_model.h
+++ b/components/offline_pages/stub_offline_page_model.h
@@ -32,8 +32,9 @@ class StubOfflinePageModel : public OfflinePageModel {
void ClearAll(const base::Closure& callback) override;
void DeletePagesByOfflineId(const std::vector<int64_t>& offline_ids,
const DeletePageCallback& callback) override;
- void DeletePagesByURLPredicate(const UrlPredicate& predicate,
- const DeletePageCallback& callback) override;
+ void DeleteCachedPagesByURLPredicate(
+ const UrlPredicate& predicate,
+ const DeletePageCallback& callback) override;
void HasPages(const std::string& name_space,
const HasPagesCallback& callback) override;
void CheckPagesExistOffline(
« 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