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; |