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

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

Issue 830483005: Eliminate sending NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_DELETED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated 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 760d9272dd5a05d386bd7d5ce104eef30e43866f..2799984dc3dd1fcb2fc2b9e6c45e232e306fba17 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 KeywordSearchDeletedDetails;
class URLDatabase;
class URLRow;
struct URLsDeletedDetails;
@@ -85,6 +84,8 @@ class InMemoryHistoryBackend : public HistoryServiceObserver,
const URLRow& row,
KeywordID keyword_id,
const base::string16& term) override;
+ void OnKeywordSearchTermDeleted(HistoryService* history_service,
+ URLID url_id) override;
// Notification callback.
void Observe(int type,
@@ -100,9 +101,6 @@ class InMemoryHistoryBackend : public HistoryServiceObserver,
// Handler for HISTORY_URLS_DELETED.
void OnURLsDeleted(const URLsDeletedDetails& details);
- // Handler for HISTORY_KEYWORD_SEARCH_TERM_DELETED.
- void OnKeywordSearchTermDeleted(const KeywordSearchDeletedDetails& details);
-
content::NotificationRegistrar registrar_;
scoped_ptr<InMemoryDatabase> db_;
« 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