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

Unified Diff: components/offline_pages/offline_page_model.h

Issue 1741123002: Add removal filter support for Cookies, Storage, and Content Settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios fix, and fixed test Created 4 years, 9 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/offline_page_model.h
diff --git a/components/offline_pages/offline_page_model.h b/components/offline_pages/offline_page_model.h
index 571f12bc8bca5df3afb0f03034f23dc2d54da4dd..999fc9112b9913befd6376d9f268004cb7a4f83c 100644
--- a/components/offline_pages/offline_page_model.h
+++ b/components/offline_pages/offline_page_model.h
@@ -188,6 +188,11 @@ class OfflinePageModel : public KeyedService,
// Wipes out all the data by deleting all saved files and clearing the store.
void ClearAll(const base::Closure& callback);
+ // Wipes out data flagged by the predicate by deleting all saved files and
+ // clearing the store.
+ void ClearWithURLPredicate(const base::Callback<bool(const GURL&)> predicate,
+ const base::Closure& callback);
+
// Returns true if there're offline pages.
bool HasOfflinePages() const;

Powered by Google App Engine
This is Rietveld 408576698