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

Unified Diff: chrome/browser/history/in_memory_history_backend.h

Issue 808123003: Eliminate sending NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated patch for android port 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: chrome/browser/history/in_memory_history_backend.h
diff --git a/chrome/browser/history/in_memory_history_backend.h b/chrome/browser/history/in_memory_history_backend.h
index f06c3f6f4220e0726f7015ecbdb782e58a3dda45..ea7e0f40fe4f02b7079ed46bbb0bd5950331b792 100644
--- a/chrome/browser/history/in_memory_history_backend.h
+++ b/chrome/browser/history/in_memory_history_backend.h
@@ -83,6 +83,11 @@ class InMemoryHistoryBackend : public HistoryServiceObserver,
void OnURLsModified(HistoryService* history_service,
const URLRows& changed_urls) override;
sdefresne 2014/12/24 09:03:43 nit: remove empty line
Abhishek 2014/12/24 19:39:41 Done.
+ void HistoryKeywordSearchTermUpdated(HistoryService* history_service,
+ const URLRow& row,
+ KeywordID keyword_id,
+ const base::string16& term) override;
+
// Notification callback.
void Observe(int type,
const content::NotificationSource& source,
@@ -98,7 +103,9 @@ class InMemoryHistoryBackend : public HistoryServiceObserver,
void OnURLsDeleted(const URLsDeletedDetails& details);
// Handler for HISTORY_KEYWORD_SEARCH_TERM_UPDATED.
- void OnKeywordSearchTermUpdated(const KeywordSearchUpdatedDetails& details);
+ void OnKeywordSearchTermUpdated(const URLRow& row,
+ KeywordID keyword_id,
+ const base::string16& term);
// Handler for HISTORY_KEYWORD_SEARCH_TERM_DELETED.
void OnKeywordSearchTermDeleted(const KeywordSearchDeletedDetails& details);

Powered by Google App Engine
This is Rietveld 408576698