| Index: extensions/browser/extension_icon_image.h
|
| diff --git a/extensions/browser/extension_icon_image.h b/extensions/browser/extension_icon_image.h
|
| index 2698de2def28029b930abdf7485e551ed402aecf..2ec6c2602cea30ff84dd2cb5029f985410751cae 100644
|
| --- a/extensions/browser/extension_icon_image.h
|
| +++ b/extensions/browser/extension_icon_image.h
|
| @@ -77,6 +77,9 @@ class IconImage : public content::NotificationObserver {
|
| gfx::Image image() const { return image_; }
|
| const gfx::ImageSkia& image_skia() const { return image_skia_; }
|
|
|
| + // Returns true if the icon is attached to an existing extension.
|
| + bool is_valid() const { return extension_ ? true : false; }
|
| +
|
| void AddObserver(Observer* observer);
|
| void RemoveObserver(Observer* observer);
|
|
|
|
|