| Index: chrome/browser/ui/views/infobars/extension_infobar.h
|
| diff --git a/chrome/browser/ui/views/infobars/extension_infobar.h b/chrome/browser/ui/views/infobars/extension_infobar.h
|
| index 0eff8019fafaf8aa055e251a612f6dc72efcfa10..fe56939ce90a90fc5b028cdc1630dd6548d981b4 100644
|
| --- a/chrome/browser/ui/views/infobars/extension_infobar.h
|
| +++ b/chrome/browser/ui/views/infobars/extension_infobar.h
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/browser/ui/views/infobars/infobar_view.h"
|
| #include "views/controls/menu/view_menu_delegate.h"
|
|
|
| +class Browser;
|
| class TabContentsWrapper;
|
| namespace views {
|
| class MenuButton;
|
| @@ -21,7 +22,8 @@ class ExtensionInfoBar : public InfoBarView,
|
| public ExtensionInfoBarDelegate::DelegateObserver,
|
| public views::ViewMenuDelegate {
|
| public:
|
| - ExtensionInfoBar(TabContentsWrapper* owner,
|
| + ExtensionInfoBar(Browser* browser,
|
| + TabContentsWrapper* owner,
|
| ExtensionInfoBarDelegate* delegate);
|
|
|
| private:
|
| @@ -47,6 +49,8 @@ class ExtensionInfoBar : public InfoBarView,
|
|
|
| ExtensionInfoBarDelegate* GetDelegate();
|
|
|
| + Browser* browser_;
|
| +
|
| // TODO(pkasting): This shadows InfoBarView::delegate_. Get rid of this once
|
| // InfoBars own their delegates (and thus we don't need the DelegateObserver
|
| // functionality). For now, almost everyone should use GetDelegate() instead.
|
|
|