| Index: components/history/core/browser/history_service.cc
|
| diff --git a/components/history/core/browser/history_service.cc b/components/history/core/browser/history_service.cc
|
| index 75c5683270aaa751dbee08aafa3734c786eee0fa..b46e08860ed9fd0f7a5657c7b742b152516f8c8c 100644
|
| --- a/components/history/core/browser/history_service.cc
|
| +++ b/components/history/core/browser/history_service.cc
|
| @@ -118,11 +118,12 @@ class HistoryService::BackendDelegate : public HistoryBackend::Delegate {
|
| history_service_, base::Passed(&backend)));
|
| }
|
|
|
| - void NotifyFaviconChanged(const std::set<GURL>& urls) override {
|
| + void NotifyFaviconsChanged(const std::vector<GURL>& page_urls,
|
| + const std::vector<GURL>& icon_urls) override {
|
| // Send the notification to the history service on the main thread.
|
| service_task_runner_->PostTask(
|
| - FROM_HERE, base::Bind(&HistoryService::NotifyFaviconChanged,
|
| - history_service_, urls));
|
| + FROM_HERE, base::Bind(&HistoryService::NotifyFaviconsChanged,
|
| + history_service_, page_urls, icon_urls));
|
| }
|
|
|
| void NotifyURLVisited(ui::PageTransition transition,
|
| @@ -1111,17 +1112,18 @@ void HistoryService::NotifyKeywordSearchTermDeleted(URLID url_id) {
|
| OnKeywordSearchTermDeleted(this, url_id));
|
| }
|
|
|
| -scoped_ptr<base::CallbackList<void(const std::set<GURL>&)>::Subscription>
|
| +scoped_ptr<base::CallbackList<void(const std::vector<GURL>&,
|
| + const std::vector<GURL>&)>::Subscription>
|
| HistoryService::AddFaviconChangedCallback(
|
| const HistoryService::OnFaviconChangedCallback& callback) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| return favicon_changed_callback_list_.Add(callback);
|
| }
|
|
|
| -void HistoryService::NotifyFaviconChanged(
|
| - const std::set<GURL>& changed_favicons) {
|
| +void HistoryService::NotifyFaviconsChanged(const std::vector<GURL>& page_urls,
|
| + const std::vector<GURL>& icon_urls) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| - favicon_changed_callback_list_.Notify(changed_favicons);
|
| + favicon_changed_callback_list_.Notify(page_urls, icon_urls);
|
| }
|
|
|
| } // namespace history
|
|
|