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

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

Issue 573553004: Eliminate NOTIFICATION_HISTORY_LOADED notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ScopedObserver to InMemoryHistoryBackend,PrerenderLocalPredictor,ChromeTemplateURLServiceClient Created 6 years, 1 month 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 ecee03cad827f0a15660753bafb44d7e11a3cec1..97903cf149ba4e429de01137727073ece090ef65 100644
--- a/components/history/core/browser/history_service_observer.h
+++ b/components/history/core/browser/history_service_observer.h
@@ -42,6 +42,12 @@ class HistoryServiceObserver {
virtual void OnAddVisit(HistoryService* history_service,
const BriefVisitInfo& info) {}
+ // Is called to notify when |history_service| has finished loading.
+ virtual void OnHistoryServiceLoaded(HistoryService* history_service) {}
+
+ // Is called to notify when |history_service| is being deleted.
+ virtual void HistoryServiceBeingDeleted(HistoryService* history_service) {}
+
private:
DISALLOW_COPY_AND_ASSIGN(HistoryServiceObserver);
};
« chrome/browser/chrome_notification_types.h ('K') | « chrome/test/base/ui_test_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698