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 471938e19ccb192f41e339f917c0bce1ff18496e..37d5ed90077cb9cea6fd8c2410ab825a1e35e725 100644 |
--- a/components/offline_pages/offline_page_model.h |
+++ b/components/offline_pages/offline_page_model.h |
@@ -178,6 +178,12 @@ 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; |