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

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: update unittest Created 5 years, 11 months 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
« no previous file with comments | « chrome/browser/history/in_memory_history_backend.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..9ea82e27900ebccd30486097e8d815a2dd04ec17 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) {}
+ // Sent when a keyword search term is updated.
+ //
+ // |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);
};
« no previous file with comments | « chrome/browser/history/in_memory_history_backend.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698