Index: components/favicon/core/favicon_driver_observer.h |
diff --git a/components/favicon/core/favicon_driver_observer.h b/components/favicon/core/favicon_driver_observer.h |
index cc134d23a99a7357d9db162e4091a2dadee9dc8e..eb3fd48f61ef712aa9fe1510eb5087019d504552 100644 |
--- a/components/favicon/core/favicon_driver_observer.h |
+++ b/components/favicon/core/favicon_driver_observer.h |
@@ -13,6 +13,8 @@ class Image; |
namespace favicon { |
+class FaviconDriver; |
+ |
// An observer implemented by classes which are interested in event from |
// FaviconDriver. |
class FaviconDriverObserver { |
@@ -24,6 +26,11 @@ class FaviconDriverObserver { |
// storage. |
virtual void OnFaviconAvailable(const gfx::Image& image) = 0; |
+ // Called when favicon has changed for the current page. |icon_url_changed| is |
+ // true if the favicon URL has also changed. |
+ virtual void OnFaviconUpdated(FaviconDriver* favicon_driver, |
+ bool icon_url_changed) = 0; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(FaviconDriverObserver); |
}; |