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

Unified Diff: components/history/core/browser/history_service_observer.h

Issue 808123003: Eliminate sending NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: inline code for provider class Created 6 years 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 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);
};

Powered by Google App Engine
This is Rietveld 408576698