Index: chrome/browser/permissions/grouped_permission_infobar_delegate.h |
diff --git a/chrome/browser/permissions/grouped_permission_infobar_delegate.h b/chrome/browser/permissions/grouped_permission_infobar_delegate.h |
index f0a22ced3e5f36a28108eeb6af278b9dcfd82d44..59f2ad6ee5cbcdda06865a501eb912ebaacc800e 100644 |
--- a/chrome/browser/permissions/grouped_permission_infobar_delegate.h |
+++ b/chrome/browser/permissions/grouped_permission_infobar_delegate.h |
@@ -8,8 +8,8 @@ |
#include <memory> |
#include "base/callback.h" |
+#include "chrome/browser/permissions/permission_infobar_delegate.h" |
#include "components/content_settings/core/common/content_settings_types.h" |
-#include "components/infobars/core/confirm_infobar_delegate.h" |
class GURL; |
class InfoBarService; |
@@ -21,7 +21,7 @@ class InfoBarManager; |
// Configures an InfoBar to display a group of permission requests, each of |
// which can be allowed or blocked independently. |
// TODO(tsergeant): Expand this class so it can be used without subclassing. |
-class GroupedPermissionInfoBarDelegate : public ConfirmInfoBarDelegate { |
+class GroupedPermissionInfoBarDelegate : public PermissionInfoBarDelegate { |
public: |
// Implementation is in platform-specific infobar file. |
static std::unique_ptr<infobars::InfoBar> CreateInfoBar( |
@@ -36,7 +36,7 @@ class GroupedPermissionInfoBarDelegate : public ConfirmInfoBarDelegate { |
base::string16 GetMessageText() const override; |
int GetPermissionCount() const; |
- ContentSettingsType GetContentSettingType(int index) const; |
+ ContentSettingsType GetContentSettingType(int index) const override; |
int GetIconIdForPermission(int index) const; |
// Message text to display for an individual permission at |index|. |
base::string16 GetMessageTextFragment(int index) const; |
@@ -54,7 +54,6 @@ class GroupedPermissionInfoBarDelegate : public ConfirmInfoBarDelegate { |
// InfoBarDelegate: |
Type GetInfoBarType() const override; |
- const GURL requesting_origin_; |
const std::vector<ContentSettingsType> types_; |
std::vector<bool> accept_states_; |