| Index: chrome/browser/history/history_service.cc
|
| diff --git a/chrome/browser/history/history_service.cc b/chrome/browser/history/history_service.cc
|
| index 16e04df67f577ad58eb2027c26877adf1f6c51ee..f010de61e0f7777676666378dd64b133798be363 100644
|
| --- a/chrome/browser/history/history_service.cc
|
| +++ b/chrome/browser/history/history_service.cc
|
| @@ -189,6 +189,14 @@ class HistoryService::BackendDelegate : public HistoryBackend::Delegate {
|
| changed_urls));
|
| }
|
|
|
| + void NotifyKeywordSearchTermUpdated(const history::URLRow& row,
|
| + KeywordID keyword_id,
|
| + const base::string16& term) override {
|
| + service_task_runner_->PostTask(
|
| + FROM_HERE, base::Bind(&HistoryService::NotifyKeywordSearchTermUpdated,
|
| + history_service_, row, keyword_id, term));
|
| + }
|
| +
|
| void BroadcastNotifications(
|
| int type,
|
| scoped_ptr<history::HistoryDetails> details) override {
|
| @@ -1280,6 +1288,15 @@ void HistoryService::NotifyHistoryServiceBeingDeleted() {
|
| HistoryServiceBeingDeleted(this));
|
| }
|
|
|
| +void HistoryService::NotifyKeywordSearchTermUpdated(
|
| + const history::URLRow& row,
|
| + history::KeywordID keyword_id,
|
| + const base::string16& term) {
|
| + DCHECK(thread_checker_.CalledOnValidThread());
|
| + FOR_EACH_OBSERVER(history::HistoryServiceObserver, observers_,
|
| + OnKeywordSearchTermUpdated(this, row, keyword_id, term));
|
| +}
|
| +
|
| scoped_ptr<base::CallbackList<void(const std::set<GURL>&)>::Subscription>
|
| HistoryService::AddFaviconChangedCallback(
|
| const HistoryService::OnFaviconChangedCallback& callback) {
|
|
|