Index: chrome/browser/history/android/android_provider_backend_unittest.cc |
diff --git a/chrome/browser/history/android/android_provider_backend_unittest.cc b/chrome/browser/history/android/android_provider_backend_unittest.cc |
index 6c19eafcbf8caa2b189181555a6e850bf6f1084e..3dd620a3248d9b2edc14694451058cf35f479cb6 100644 |
--- a/chrome/browser/history/android/android_provider_backend_unittest.cc |
+++ b/chrome/browser/history/android/android_provider_backend_unittest.cc |
@@ -13,7 +13,6 @@ |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
#include "chrome/browser/bookmarks/bookmark_model_factory.h" |
-#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/history/android/android_time.h" |
#include "chrome/browser/history/chrome_history_client.h" |
#include "chrome/browser/history/chrome_history_client_factory.h" |
@@ -84,13 +83,16 @@ class AndroidProviderBackendDelegate : public HistoryBackend::Delegate { |
void NotifyURLsModified(const history::URLRows& rows) override { |
modified_details_.reset(new history::URLRows(rows)); |
} |
+ void NotifyURLsDeleted(bool all_history, |
+ bool expired, |
+ const URLRows& deleted_rows, |
+ const std::set<GURL>& favicon_urls) override { |
+ deleted_details_.reset(new history::URLRows(deleted_rows)); |
+ } |
void BroadcastNotifications( |
int type, |
scoped_ptr<HistoryDetails> details) override { |
- DCHECK_EQ(type, chrome::NOTIFICATION_HISTORY_URLS_DELETED); |
- scoped_ptr<URLsDeletedDetails> urls_deleted_details( |
- static_cast<URLsDeletedDetails*>(details.release())); |
- deleted_details_.reset(new history::URLRows(urls_deleted_details->rows)); |
+ NOTREACHED(); |
} |
void DBLoaded() override {} |