Chromium Code Reviews| 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..385b5aa707e5528692563abc0518141e90f3ccac 100644 |
| --- a/components/history/core/browser/history_service_observer.h |
| +++ b/components/history/core/browser/history_service_observer.h |
| @@ -7,6 +7,7 @@ |
| #include "base/macros.h" |
| #include "components/history/core/browser/history_types.h" |
| +#include "components/history/core/browser/keyword_id.h" |
| class HistoryService; |
| @@ -48,6 +49,15 @@ class HistoryServiceObserver { |
| // Is called to notify when |history_service| is being deleted. |
| virtual void HistoryServiceBeingDeleted(HistoryService* history_service) {} |
| + // Called when any term searched in omni box. |
| + // |
| + // |row| contains the URL information for search |term|. |
| + // |keyword_id| associated with a URL and search term. |
| + virtual void HistoryKeywordSearchTermUpdated(HistoryService* history_service, |
|
sdefresne
2014/12/29 09:53:26
nit: rename to OnKeywordSearchTermUpdated() (it is
Abhishek
2014/12/29 14:12:40
Done.
|
| + const URLRow& row, |
| + KeywordID keyword_id, |
| + const base::string16& term) {} |
| + |
| private: |
| DISALLOW_COPY_AND_ASSIGN(HistoryServiceObserver); |
| }; |