| Index: chrome/browser/favicon/favicon_utils.h
|
| diff --git a/chrome/browser/favicon/favicon_utils.h b/chrome/browser/favicon/favicon_utils.h
|
| index e8b8ad01a6e9cb9fbe0799378fc5eb775c76ef51..e985c0ea9620a756dc3da9e6c351471917e79e02 100644
|
| --- a/chrome/browser/favicon/favicon_utils.h
|
| +++ b/chrome/browser/favicon/favicon_utils.h
|
| @@ -7,6 +7,14 @@
|
|
|
| #include "components/favicon/content/content_favicon_driver.h"
|
|
|
| +namespace content {
|
| +class WebContents;
|
| +} // namespace content
|
| +
|
| +namespace gfx {
|
| +class Image;
|
| +} // namespace gfx
|
| +
|
| namespace favicon {
|
|
|
| // Creates a ContentFaviconDriver and associates it with |web_contents| if none
|
| @@ -21,6 +29,10 @@ void CreateContentFaviconDriverForWebContents(
|
| // space is provided for the favicon, and the favicon is never displayed.
|
| bool ShouldDisplayFavicon(content::WebContents* web_contents);
|
|
|
| +// Retrieves the favicon from given WebContents. If contents contain a
|
| +// network error, desaturate the favicon.
|
| +gfx::Image TabFaviconFromWebContents(content::WebContents* contents);
|
| +
|
| } // namespace favicon
|
|
|
| #endif // CHROME_BROWSER_FAVICON_FAVICON_UTILS_H_
|
|
|