Chromium Code Reviews| Index: chrome/browser/extensions/extension_infobar_delegate.h |
| diff --git a/chrome/browser/extensions/extension_infobar_delegate.h b/chrome/browser/extensions/extension_infobar_delegate.h |
| index 8a86992266149a7cf9c6bb5a050867967a958945..4eb2809643c96836a120f4cc01bc372bef0fcfb1 100644 |
| --- a/chrome/browser/extensions/extension_infobar_delegate.h |
| +++ b/chrome/browser/extensions/extension_infobar_delegate.h |
| @@ -44,6 +44,8 @@ class ExtensionInfoBarDelegate : public InfoBarDelegate, |
| bool closing() const { return closing_; } |
| + Browser* browser() { return browser_; } |
|
Peter Kasting
2011/09/29 17:39:20
Nit: Not necessary. The only caller is an Extensi
|
| + |
| private: |
| virtual ~ExtensionInfoBarDelegate(); |
| @@ -59,6 +61,8 @@ class ExtensionInfoBarDelegate : public InfoBarDelegate, |
| const NotificationSource& source, |
| const NotificationDetails& details) OVERRIDE; |
| + Browser* browser_; |
| + |
| // The extension host we are showing the InfoBar for. The delegate needs to |
| // own this since the InfoBar gets deleted and recreated when you switch tabs |
| // and come back (and we don't want the user's interaction with the InfoBar to |