| Index: chrome/browser/ui/webui/extension_icon_source.h
|
| diff --git a/chrome/browser/ui/webui/extension_icon_source.h b/chrome/browser/ui/webui/extension_icon_source.h
|
| index 2d797c4b3673a971bde3e6efd55ebcedcb80f44f..172cc9b52299d10a4be4889f6b4e7b1424af295e 100644
|
| --- a/chrome/browser/ui/webui/extension_icon_source.h
|
| +++ b/chrome/browser/ui/webui/extension_icon_source.h
|
| @@ -57,11 +57,14 @@ class ExtensionIconSource : public ChromeURLDataManager::DataSource,
|
|
|
| // Gets the URL of the |extension| icon in the given |size|, falling back
|
| // based on the |match| type. If |grayscale|, the URL will be for the
|
| - // desaturated version of the icon.
|
| + // desaturated version of the icon. |exists|, if non-NULL, will be set to true
|
| + // if the icon exists; false if it will lead to a default or not-present
|
| + // image.
|
| static GURL GetIconURL(const Extension* extension,
|
| Extension::Icons icon_size,
|
| ExtensionIconSet::MatchType match,
|
| - bool grayscale);
|
| + bool grayscale,
|
| + bool* exists);
|
|
|
| // A public utility function for accessing the bitmap of the image specified
|
| // by |resource_id|.
|
|
|