| Index: chrome/browser/content_settings/permission_infobar_delegate.h
|
| diff --git a/chrome/browser/content_settings/permission_infobar_delegate.h b/chrome/browser/content_settings/permission_infobar_delegate.h
|
| index 2f238b89832a4bd06061ba8b7608446bc2979c10..9fea4a3bb13c18b30ba17faa5d989f9dad6cd4aa 100644
|
| --- a/chrome/browser/content_settings/permission_infobar_delegate.h
|
| +++ b/chrome/browser/content_settings/permission_infobar_delegate.h
|
| @@ -20,6 +20,9 @@ class PermissionQueueController;
|
| // provide an icon and a message text to the infobar.
|
| class PermissionInfobarDelegate : public ConfirmInfoBarDelegate {
|
|
|
| + public:
|
| + ContentSettingsType content_setting() const { return type_; }
|
| +
|
| protected:
|
| PermissionInfobarDelegate(PermissionQueueController* controller,
|
| const PermissionRequestID& id,
|
| @@ -31,6 +34,7 @@ class PermissionInfobarDelegate : public ConfirmInfoBarDelegate {
|
| // ConfirmInfoBarDelegate:
|
| Type GetInfoBarType() const override;
|
| void InfoBarDismissed() override;
|
| + PermissionInfobarDelegate* AsPermissionInfobarDelegate() override;
|
| base::string16 GetButtonLabel(InfoBarButton button) const override;
|
| bool Accept() override;
|
| bool Cancel() override;
|
|
|