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..0f35f8c7dd166d1cc2caea5ac883b4f58a32922b 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 |
@@ -66,10 +68,6 @@ class ConfirmInfoBarDelegate : public infobars::InfoBarDelegate { |
protected: |
ConfirmInfoBarDelegate(); |
- // Returns a confirm infobar that owns |delegate|. |
- static scoped_ptr<infobars::InfoBar> CreateInfoBar( |
- scoped_ptr<ConfirmInfoBarDelegate> delegate); |
- |
bool ShouldExpireInternal(const NavigationDetails& details) const override; |
private: |