Index: components/history/core/browser/history_service_observer.h |
diff --git a/components/history/core/browser/history_service_observer.h b/components/history/core/browser/history_service_observer.h |
index 97903cf149ba4e429de01137727073ece090ef65..5d22f7a0bb9ff4a47a51247425a8e177d1483db7 100644 |
--- a/components/history/core/browser/history_service_observer.h |
+++ b/components/history/core/browser/history_service_observer.h |
@@ -42,6 +42,20 @@ class HistoryServiceObserver { |
virtual void OnAddVisit(HistoryService* history_service, |
const BriefVisitInfo& info) {} |
+ // Called when one or more of URLs are deleted. |
+ // |
+ // |all_history| is set to true, if all the URLs are deleted. |
+ // When set to true, |deleted_rows| and |favicon_urls| are |
+ // undefined. |
+ // |expired| is set to true, if the URL deletion is due to expiration. |
+ // |deleted_rows| list of the deleted URLs. |
+ // |favicon_urls| list of favicon URLs that correspond to the deleted URLs. |
+ virtual void OnURLsDeleted(HistoryService* history_service, |
+ bool all_history, |
+ bool expired, |
+ const URLRows& deleted_rows, |
+ const std::set<GURL>& favicon_urls) {} |
+ |
// Is called to notify when |history_service| has finished loading. |
virtual void OnHistoryServiceLoaded(HistoryService* history_service) {} |