| 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 834f39b47d20ca4d7623dce43df94b4954da20ff..a734f4a3007cb4fcbb1b76f0b85704f25b30cb47 100644
|
| --- a/components/history/core/browser/history_service_observer.h
|
| +++ b/components/history/core/browser/history_service_observer.h
|
| @@ -43,6 +43,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) {}
|
|
|
|
|