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

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: Fixed styling issues Created 6 years, 2 months 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 3945aec2ff3d0b7ec93a3d33757c473c251f3841..a69d03175426ef56178b1f7ff53917b5374dc6cd 100644
--- a/components/history/core/browser/history_service_observer.h
+++ b/components/history/core/browser/history_service_observer.h
@@ -34,6 +34,9 @@ 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) {}
+
private:
DISALLOW_COPY_AND_ASSIGN(HistoryServiceObserver);
};
« chrome/browser/ui/cocoa/history_menu_bridge.mm ('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