| Index: chrome/browser/history/history_service.cc
|
| diff --git a/chrome/browser/history/history_service.cc b/chrome/browser/history/history_service.cc
|
| index 45e62ca6ca399d3d84ecde9062ff2d32b7a29236..d5e15e2abe9c5eb6cb5beabba1296b9c5ac3cc67 100644
|
| --- a/chrome/browser/history/history_service.cc
|
| +++ b/chrome/browser/history/history_service.cc
|
| @@ -1227,10 +1227,7 @@ void HistoryService::BroadcastNotificationsHelper(
|
| void HistoryService::OnDBLoaded() {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| backend_loaded_ = true;
|
| - content::NotificationService::current()->Notify(
|
| - chrome::NOTIFICATION_HISTORY_LOADED,
|
| - content::Source<Profile>(profile_),
|
| - content::Details<HistoryService>(this));
|
| + NotifyHistoryServiceLoaded();
|
| }
|
|
|
| bool HistoryService::GetRowForURL(const GURL& url, history::URLRow* url_row) {
|
| @@ -1267,3 +1264,10 @@ void HistoryService::NotifyFaviconChanged(
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| favicon_changed_callback_list_.Notify(changed_favicons);
|
| }
|
| +
|
| +void HistoryService::NotifyHistoryServiceLoaded() {
|
| + DCHECK(thread_checker_.CalledOnValidThread());
|
| + FOR_EACH_OBSERVER(history::HistoryServiceObserver,
|
| + observers_,
|
| + OnHistoryServiceLoaded(this));
|
| +}
|
|
|