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..6fd4e36793cb6fc94204e73c58141f7f7e93169c 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 omnibox. |
nshaik
2014/12/30 18:56:35
nit: term "is" searched
Abhishek
2014/12/31 05:57:22
Done.
|
+ // |
+ // |row| contains the URL information for search |term|. |
+ // |keyword_id| associated with a URL and search term. |
+ virtual void OnKeywordSearchTermUpdated(HistoryService* history_service, |
+ const URLRow& row, |
+ KeywordID keyword_id, |
+ const base::string16& term) {} |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(HistoryServiceObserver); |
}; |