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

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: 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/history_unittest.cc ('k') | chrome/browser/history/in_memory_history_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..760d9272dd5a05d386bd7d5ce104eef30e43866f 100644
--- a/chrome/browser/history/in_memory_history_backend.h
+++ b/chrome/browser/history/in_memory_history_backend.h
@@ -41,7 +41,6 @@ class FilePath;
namespace history {
class InMemoryDatabase;
-struct KeywordSearchUpdatedDetails;
struct KeywordSearchDeletedDetails;
class URLDatabase;
class URLRow;
@@ -82,6 +81,10 @@ class InMemoryHistoryBackend : public HistoryServiceObserver,
base::Time visit_time) override;
void OnURLsModified(HistoryService* history_service,
const URLRows& changed_urls) override;
+ void OnKeywordSearchTermUpdated(HistoryService* history_service,
+ const URLRow& row,
+ KeywordID keyword_id,
+ const base::string16& term) override;
// Notification callback.
void Observe(int type,
@@ -97,9 +100,6 @@ class InMemoryHistoryBackend : public HistoryServiceObserver,
// Handler for HISTORY_URLS_DELETED.
void OnURLsDeleted(const URLsDeletedDetails& details);
- // Handler for HISTORY_KEYWORD_SEARCH_TERM_UPDATED.
- void OnKeywordSearchTermUpdated(const KeywordSearchUpdatedDetails& details);
-
// Handler for HISTORY_KEYWORD_SEARCH_TERM_DELETED.
void OnKeywordSearchTermDeleted(const KeywordSearchDeletedDetails& details);
« no previous file with comments | « chrome/browser/history/history_unittest.cc ('k') | chrome/browser/history/in_memory_history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698