Index: chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h |
diff --git a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h |
index 22f263cfdf9b4629a7ba86a2de08a6c410d1d2f9..2501e055c2c777fe50bde0150fe82552a0a282d1 100644 |
--- a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h |
+++ b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h |
@@ -6,7 +6,7 @@ |
#define CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_INFOBAR_DELEGATE_H_ |
#include "base/strings/string16.h" |
-#include "chrome/browser/infobars/confirm_infobar_delegate.h" |
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h" |
#include "chrome/common/custom_handlers/protocol_handler.h" |
class InfoBarService; |
@@ -14,7 +14,8 @@ class ProtocolHandlerRegistry; |
// An InfoBar delegate that enables the user to allow or deny storing credit |
// card information gathered from a form submission. |
-class RegisterProtocolHandlerInfoBarDelegate : public ConfirmInfoBarDelegate { |
+class RegisterProtocolHandlerInfoBarDelegate |
+ : public ContentConfirmInfoBarDelegate { |
public: |
// Creates a new register protocol handler infobar and delegate. Searches |
// |infobar_service| for an existing infobar for the same |handler|; replaces |
@@ -25,7 +26,8 @@ class RegisterProtocolHandlerInfoBarDelegate : public ConfirmInfoBarDelegate { |
const ProtocolHandler& handler); |
private: |
- RegisterProtocolHandlerInfoBarDelegate(ProtocolHandlerRegistry* registry, |
+ RegisterProtocolHandlerInfoBarDelegate(content::WebContents* web_contents, |
+ ProtocolHandlerRegistry* registry, |
const ProtocolHandler& handler); |
virtual ~RegisterProtocolHandlerInfoBarDelegate(); |