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

Unified Diff: chrome/browser/history/history_backend.cc

Issue 15275004: bookmarks: Get rid of the dependency on history_notifications.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add files back Created 7 years, 7 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
Index: chrome/browser/history/history_backend.cc
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index 9a63957776a1664d96271552ecfeb479064d8b98..ef46ea9c20edbba31c4a51fda40dd37398b007aa 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -25,6 +25,7 @@
#include "base/utf_string_conversions.h"
#include "chrome/browser/autocomplete/history_url_provider.h"
#include "chrome/browser/bookmarks/bookmark_service.h"
+#include "chrome/browser/favicon/favicon_changed_details.h"
#include "chrome/browser/favicon/imported_favicon_usage.h"
#include "chrome/browser/history/download_row.h"
#include "chrome/browser/history/history_db_task.h"
@@ -2237,7 +2238,7 @@ void HistoryBackend::SetImportedFavicons(
if (!favicons_changed.empty()) {
// Send the notification about the changed favicon URLs.
- FaviconChangeDetails* changed_details = new FaviconChangeDetails;
+ FaviconChangedDetails* changed_details = new FaviconChangedDetails;
changed_details->urls.swap(favicons_changed);
BroadcastNotifications(chrome::NOTIFICATION_FAVICON_CHANGED,
changed_details);
@@ -2604,7 +2605,7 @@ void HistoryBackend::SendFaviconChangedNotificationForPageAndRedirects(
history::RedirectList redirect_list;
GetCachedRecentRedirects(page_url, &redirect_list);
- FaviconChangeDetails* changed_details = new FaviconChangeDetails;
+ FaviconChangedDetails* changed_details = new FaviconChangedDetails;
for (size_t i = 0; i < redirect_list.size(); ++i)
changed_details->urls.insert(redirect_list[i]);

Powered by Google App Engine
This is Rietveld 408576698