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

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: Renamed class, comments Created 4 years, 8 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 e76be0da0b764d1147b04af5024a6727176f15ac..ec998634528f42e0c1b75fed33e2755f147805b2 100644
--- a/components/offline_pages/offline_page_model.h
+++ b/components/offline_pages/offline_page_model.h
@@ -176,6 +176,11 @@ class OfflinePageModel : public KeyedService, public base::SupportsUserData {
// 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.
fgorski 2016/04/07 17:02:49 Deletes offline pages matching the URL predicate.
dmurph 2016/04/08 23:33:45 Done.
+ void ClearWithURLPredicate(const base::Callback<bool(const GURL&)> predicate,
fgorski 2016/04/07 17:02:49 Rename: DeletePagesByURLPredicate Add tests as we
dmurph 2016/04/08 23:33:45 Done.
+ const base::Closure& callback);
+
// Returns true if there're offline pages.
bool HasOfflinePages() const;

Powered by Google App Engine
This is Rietveld 408576698