Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: components/history/core/browser/history_service_observer.h

Issue 773103004: Remove NOTIFICATION_HISTORY_URLS_DELETED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove NotificationObserver from InMemoryURLIndex Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {}

Powered by Google App Engine
This is Rietveld 408576698