Index: chrome/browser/history/history_unittest.cc |
diff --git a/chrome/browser/history/history_unittest.cc b/chrome/browser/history/history_unittest.cc |
index 083905a5a9f233b62f8d46c1a2e47c4e2183f762..8d04905a7479ee40a2483f0f124494d5c106240d 100644 |
--- a/chrome/browser/history/history_unittest.cc |
+++ b/chrome/browser/history/history_unittest.cc |
@@ -41,6 +41,7 @@ |
#include "base/threading/platform_thread.h" |
#include "base/time.h" |
#include "base/utf_string_conversions.h" |
+#include "chrome/browser/favicon/favicon_changed_details.h" |
#include "chrome/browser/history/download_row.h" |
#include "chrome/browser/history/history_backend.h" |
#include "chrome/browser/history/history_database.h" |
@@ -92,6 +93,8 @@ class BackendDelegate : public HistoryBackend::Delegate { |
sql::InitStatus init_status) OVERRIDE {} |
virtual void SetInMemoryBackend(int backend_id, |
InMemoryHistoryBackend* backend) OVERRIDE; |
+ virtual void SendFaviconChangedNotification( |
+ chrome::FaviconChangedDetails* details) OVERRIDE; |
virtual void BroadcastNotifications(int type, |
HistoryDetails* details) OVERRIDE; |
virtual void DBLoaded(int backend_id) OVERRIDE {} |
@@ -200,6 +203,12 @@ void BackendDelegate::SetInMemoryBackend(int backend_id, |
history_test_->in_mem_backend_.reset(backend); |
} |
+void BackendDelegate::SendFaviconChangedNotification( |
+ chrome::FaviconChangedDetails* details) { |
+ // The backend passes ownership of the details pointer to us. |
+ delete details; |
+} |
+ |
void BackendDelegate::BroadcastNotifications(int type, |
HistoryDetails* details) { |
// Currently, just send the notifications directly to the in-memory database. |