| Index: chrome/browser/infobars/insecure_content_infobar_delegate.h
|
| diff --git a/chrome/browser/infobars/insecure_content_infobar_delegate.h b/chrome/browser/infobars/insecure_content_infobar_delegate.h
|
| index 139908f9653bba1f44c4762e291765b9b831d3e4..197d502a35731db4850c2212ba7252236ae12473 100644
|
| --- a/chrome/browser/infobars/insecure_content_infobar_delegate.h
|
| +++ b/chrome/browser/infobars/insecure_content_infobar_delegate.h
|
| @@ -5,11 +5,13 @@
|
| #ifndef CHROME_BROWSER_INFOBARS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_
|
| #define CHROME_BROWSER_INFOBARS_INSECURE_CONTENT_INFOBAR_DELEGATE_H_
|
|
|
| -#include "chrome/browser/infobars/confirm_infobar_delegate.h"
|
| +#include "chrome/browser/infobars/content_confirm_infobar_delegate.h"
|
| +
|
| +class InfoBarService;
|
|
|
| // Base class for delegates that show warnings on HTTPS pages which try to
|
| // display or run insecure content.
|
| -class InsecureContentInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| +class InsecureContentInfoBarDelegate : public ContentConfirmInfoBarDelegate {
|
| public:
|
| enum InfoBarType {
|
| DISPLAY, // Shown when "inactive" content (e.g. images) has been blocked.
|
| @@ -35,7 +37,8 @@ class InsecureContentInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| NUM_EVENTS
|
| };
|
|
|
| - explicit InsecureContentInfoBarDelegate(InfoBarType type);
|
| + explicit InsecureContentInfoBarDelegate(content::WebContents* web_contents,
|
| + InfoBarType type);
|
| virtual ~InsecureContentInfoBarDelegate();
|
|
|
| // ConfirmInfoBarDelegate:
|
|
|