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

Unified Diff: chrome/browser/history/android/android_provider_backend_unittest.cc

Issue 773103004: Remove NOTIFICATION_HISTORY_URLS_DELETED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove NotificationObserver from InMemoryURLIndex Created 6 years 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
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..2ca60c7682de59008ab9f349a17a80137b87b3f9 100644
--- a/chrome/browser/history/android/android_provider_backend_unittest.cc
+++ b/chrome/browser/history/android/android_provider_backend_unittest.cc
@@ -84,13 +84,13 @@ class AndroidProviderBackendDelegate : public HistoryBackend::Delegate {
void NotifyURLsModified(const history::URLRows& rows) override {
modified_details_.reset(new history::URLRows(rows));
}
+ void NotifyURLsDeleted(
+ const history::URLsDeletedDetails& urls_deleted_details) override {
+ deleted_details_.reset(new history::URLRows(urls_deleted_details.rows));
+ }
void BroadcastNotifications(
int type,
scoped_ptr<HistoryDetails> details) override {
- DCHECK_EQ(type, chrome::NOTIFICATION_HISTORY_URLS_DELETED);
sdefresne 2014/12/04 17:21:12 nit: NOTREACHED();
nshaik 2014/12/07 09:34:49 Done.
- scoped_ptr<URLsDeletedDetails> urls_deleted_details(
- static_cast<URLsDeletedDetails*>(details.release()));
- deleted_details_.reset(new history::URLRows(urls_deleted_details->rows));
}
void DBLoaded() override {}

Powered by Google App Engine
This is Rietveld 408576698