Index: components/favicon/core/favicon_driver.cc |
diff --git a/components/favicon/core/favicon_driver.cc b/components/favicon/core/favicon_driver.cc |
index 00632292c6a889942a4a546c958d870bc6353b7e..e94034e3e78de657713851b770c654fc021e0529 100644 |
--- a/components/favicon/core/favicon_driver.cc |
+++ b/components/favicon/core/favicon_driver.cc |
@@ -4,8 +4,6 @@ |
#include "components/favicon/core/favicon_driver.h" |
-#include "components/favicon/core/favicon_driver_observer.h" |
- |
namespace favicon { |
void FaviconDriver::AddObserver(FaviconDriverObserver* observer) { |
@@ -22,14 +20,14 @@ FaviconDriver::FaviconDriver() { |
FaviconDriver::~FaviconDriver() { |
} |
-void FaviconDriver::NotifyFaviconAvailable(const gfx::Image& image) { |
- FOR_EACH_OBSERVER(FaviconDriverObserver, observer_list_, |
- OnFaviconAvailable(image)); |
-} |
- |
-void FaviconDriver::NotifyFaviconUpdated(bool icon_url_changed) { |
+void FaviconDriver::NotifyFaviconUpdatedObservers( |
+ FaviconDriverObserver::NotificationIconType notification_icon_type, |
+ const GURL& icon_url, |
+ bool icon_url_changed, |
+ const gfx::Image& image) { |
FOR_EACH_OBSERVER(FaviconDriverObserver, observer_list_, |
- OnFaviconUpdated(this, icon_url_changed)); |
+ OnFaviconUpdated(this, notification_icon_type, icon_url, |
+ icon_url_changed, image)); |
} |
} // namespace favicon |