Index: chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.h |
diff --git a/chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.h b/chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.h |
index 073c21fd87e14923537e5599ee8ada201ec243b0..ddeece0670a835792ba8dc3728bdfbaaccca601b 100644 |
--- a/chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.h |
+++ b/chrome/browser/ui/content_settings/media_setting_changed_infobar_delegate.h |
@@ -5,20 +5,22 @@ |
#ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_MEDIA_SETTING_CHANGED_INFOBAR_DELEGATE_H_ |
#define CHROME_BROWSER_UI_CONTENT_SETTINGS_MEDIA_SETTING_CHANGED_INFOBAR_DELEGATE_H_ |
-#include "chrome/browser/infobars/confirm_infobar_delegate.h" |
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h" |
class InfoBarService; |
// An infobar that tells the user a reload is required after changing media |
// settings, and allows a reload via a button on the infobar. |
-class MediaSettingChangedInfoBarDelegate : public ConfirmInfoBarDelegate { |
+class MediaSettingChangedInfoBarDelegate |
+ : public ContentConfirmInfoBarDelegate { |
public: |
// Creates a media setting changed infobar and delegate and adds the infobar |
// to |infobar_service|. |
static void Create(InfoBarService* infobar_service); |
private: |
- MediaSettingChangedInfoBarDelegate(); |
+ explicit MediaSettingChangedInfoBarDelegate( |
+ content::WebContents* web_contents); |
virtual ~MediaSettingChangedInfoBarDelegate(); |
// ConfirmInfoBarDelegate: |