| Index: components/favicon/ios/web_favicon_driver.h
|
| diff --git a/components/favicon/ios/web_favicon_driver.h b/components/favicon/ios/web_favicon_driver.h
|
| index 9ea3e7d2a1d2b052191c8d12d0b8aef7a102cb98..0be7bcef3a2e24ac91fa6c2abb6ec9648c02fed3 100644
|
| --- a/components/favicon/ios/web_favicon_driver.h
|
| +++ b/components/favicon/ios/web_favicon_driver.h
|
| @@ -29,6 +29,7 @@ class WebFaviconDriver : public web::WebStateObserver,
|
| bookmarks::BookmarkModel* bookmark_model);
|
|
|
| // FaviconDriver implementation.
|
| + void FetchFavicon(const GURL& url) override;
|
| gfx::Image GetFavicon() const override;
|
| bool FaviconIsValid() const override;
|
| int StartDownload(const GURL& url, int max_bitmap_size) override;
|
| @@ -49,6 +50,9 @@ class WebFaviconDriver : public web::WebStateObserver,
|
| bookmarks::BookmarkModel* bookmark_model);
|
| ~WebFaviconDriver() override;
|
|
|
| + // Returns whether the active URL has changed since FetchFavicon() was called.
|
| + bool ActiveURLChangedSinceFetchFavicon();
|
| +
|
| // web::WebStateObserver implementation.
|
| void FaviconUrlUpdated(
|
| const std::vector<web::FaviconURL>& candidates) override;
|
| @@ -56,6 +60,9 @@ class WebFaviconDriver : public web::WebStateObserver,
|
| // Returns the active navigation entry's favicon.
|
| web::FaviconStatus& GetFaviconStatus();
|
|
|
| + // The URL passed to FetchFavicon().
|
| + GURL fetch_favicon_url_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(WebFaviconDriver);
|
| };
|
|
|
|
|