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

Unified Diff: components/history/core/browser/history_backend_notifier.h

Issue 1133463005: Update all bookmarks which use an icon URL when a favicon's bitmap is updated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@startup_do_not_unexpire
Patch Set: Created 5 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: components/history/core/browser/history_backend_notifier.h
diff --git a/components/history/core/browser/history_backend_notifier.h b/components/history/core/browser/history_backend_notifier.h
index a4253e23499a4cccc8af58200537ba99933993be..2c862c445bfdc14eccf09f0d85f7ec5b41368abe 100644
--- a/components/history/core/browser/history_backend_notifier.h
+++ b/components/history/core/browser/history_backend_notifier.h
@@ -6,6 +6,7 @@
#define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_NOTIFIER_H_
#include <set>
+#include <vector>
#include "components/history/core/browser/history_types.h"
#include "ui/base/page_transition_types.h"
@@ -21,8 +22,12 @@ class HistoryBackendNotifier {
HistoryBackendNotifier() {}
virtual ~HistoryBackendNotifier() {}
- // Sends notification that favicon for |urls| have changed.
- virtual void NotifyFaviconChanged(const std::set<GURL>& urls) = 0;
+ // Sends notification that the favicons for the given page URLs (e.g.
+ // http://www.google.com) and the given icon URLs (e.g.
+ // http://www.google.com/favicon.ico) have changed.
+ virtual void NotifyFaviconsChanged(
+ const std::vector<GURL>& page_urls,
+ const std::vector<GURL>& icon_urls) = 0;
// Sends notification that |transition| to |row| occurred at |visit_time|
// following |redirects| (empty if there is no redirects).

Powered by Google App Engine
This is Rietveld 408576698