| Index: chrome/browser/extensions/extension_infobar_delegate.h
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_infobar_delegate.h (revision 175396)
|
| +++ chrome/browser/extensions/extension_infobar_delegate.h (working copy)
|
| @@ -33,12 +33,15 @@
|
| virtual ~DelegateObserver() {}
|
| };
|
|
|
| - ExtensionInfoBarDelegate(Browser* browser,
|
| - InfoBarService* infobar_service,
|
| - const extensions::Extension* extension,
|
| - const GURL& url,
|
| - int height);
|
| + virtual ~ExtensionInfoBarDelegate();
|
|
|
| + // Creates an extension delegate and adds it to |infobar_service|.
|
| + static void Create(InfoBarService* infobar_service,
|
| + Browser* browser,
|
| + const extensions::Extension* extension,
|
| + const GURL& url,
|
| + int height);
|
| +
|
| const extensions::Extension* extension() { return extension_; }
|
| extensions::ExtensionHost* extension_host() { return extension_host_.get(); }
|
| int height() { return height_; }
|
| @@ -48,7 +51,11 @@
|
| bool closing() const { return closing_; }
|
|
|
| private:
|
| - virtual ~ExtensionInfoBarDelegate();
|
| + ExtensionInfoBarDelegate(Browser* browser,
|
| + InfoBarService* infobar_service,
|
| + const extensions::Extension* extension,
|
| + const GURL& url,
|
| + int height);
|
|
|
| // InfoBarDelegate:
|
| virtual InfoBar* CreateInfoBar(InfoBarService* owner) OVERRIDE;
|
|
|