Index: components/infobars/core/confirm_infobar_delegate.h |
diff --git a/components/infobars/core/confirm_infobar_delegate.h b/components/infobars/core/confirm_infobar_delegate.h |
index 1e1930d19d1a74aa8e63981a41e0e92f4e05e156..a3e5386b3e89e91704d02dea27471b1e5d8bfd0f 100644 |
--- a/components/infobars/core/confirm_infobar_delegate.h |
+++ b/components/infobars/core/confirm_infobar_delegate.h |
@@ -8,9 +8,11 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
#include "components/infobars/core/infobar_delegate.h" |
+#include "components/infobars/core/infobar_manager.h" |
namespace infobars { |
class InfoBar; |
+class InfoBarManager; |
} |
// An interface derived from InfoBarDelegate implemented by objects wishing to |
@@ -68,6 +70,7 @@ class ConfirmInfoBarDelegate : public infobars::InfoBarDelegate { |
// Returns a confirm infobar that owns |delegate|. |
static scoped_ptr<infobars::InfoBar> CreateInfoBar( |
+ infobars::InfoBarManager* manager, |
scoped_ptr<ConfirmInfoBarDelegate> delegate); |
bool ShouldExpireInternal(const NavigationDetails& details) const override; |