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..d23a055bf26f304a0b035d4608f426807ca25752 100644 |
--- a/components/history/core/browser/history_service_observer.h |
+++ b/components/history/core/browser/history_service_observer.h |
@@ -12,6 +12,8 @@ class HistoryService; |
namespace history { |
+struct URLsDeletedDetails; |
+ |
class HistoryServiceObserver { |
public: |
HistoryServiceObserver() {} |
@@ -42,6 +44,13 @@ class HistoryServiceObserver { |
virtual void OnAddVisit(HistoryService* history_service, |
const BriefVisitInfo& info) {} |
+ // Called when one or more of URLs are deleted. |
+ // |
+ // |deleted_details| lists the URLs deleted from the history databse. |
+ virtual void OnURLsDeleted( |
sdefresne
2014/12/04 17:21:13
Same comment as for HistoryBackendObserver.
nshaik
2014/12/07 09:34:50
Done.
|
+ HistoryService* history_service, |
+ const history::URLsDeletedDetails& deleted_details) {} |
+ |
// Is called to notify when |history_service| has finished loading. |
virtual void OnHistoryServiceLoaded(HistoryService* history_service) {} |