| Index: chrome/browser/history/history_backend_unittest.cc
|
| diff --git a/chrome/browser/history/history_backend_unittest.cc b/chrome/browser/history/history_backend_unittest.cc
|
| index eaf62bef408d7e6ac80402edc662e53b03b4dfac..91f0957466649502096087ad4d355468ca8864d6 100644
|
| --- a/chrome/browser/history/history_backend_unittest.cc
|
| +++ b/chrome/browser/history/history_backend_unittest.cc
|
| @@ -129,6 +129,7 @@ class HistoryBackendTestDelegate : public HistoryBackend::Delegate {
|
| void NotifyKeywordSearchTermUpdated(const URLRow& row,
|
| KeywordID keyword_id,
|
| const base::string16& term) override;
|
| + void NotifyKeywordSearchTermDeleted(URLID url_id) override;
|
| void BroadcastNotifications(int type,
|
| scoped_ptr<HistoryDetails> details) override;
|
| void DBLoaded() override;
|
| @@ -223,6 +224,10 @@ class HistoryBackendTestBase : public testing::Test {
|
| mem_backend_->OnKeywordSearchTermUpdated(nullptr, row, keyword_id, term);
|
| }
|
|
|
| + void NotifyKeywordSearchTermDeleted(URLID url_id) {
|
| + mem_backend_->OnKeywordSearchTermDeleted(nullptr, url_id);
|
| + }
|
| +
|
| void BroadcastNotifications(int type, scoped_ptr<HistoryDetails> details) {
|
| // Send the notifications directly to the in-memory database.
|
| content::Details<HistoryDetails> det(details.get());
|
| @@ -309,6 +314,10 @@ void HistoryBackendTestDelegate::NotifyKeywordSearchTermUpdated(
|
| test_->NotifyKeywordSearchTermUpdated(row, keyword_id, term);
|
| }
|
|
|
| +void HistoryBackendTestDelegate::NotifyKeywordSearchTermDeleted(URLID url_id) {
|
| + test_->NotifyKeywordSearchTermDeleted(url_id);
|
| +}
|
| +
|
| void HistoryBackendTestDelegate::BroadcastNotifications(
|
| int type,
|
| scoped_ptr<HistoryDetails> details) {
|
|
|