Index: chrome/browser/notifications/notification_permission_infobar_delegate.h |
diff --git a/chrome/browser/notifications/notification_permission_infobar_delegate.h b/chrome/browser/notifications/notification_permission_infobar_delegate.h |
index 19240d6291a53808f79b3d1d995d799b1c6e9ec7..1cc795f253eb2e9099070216e82e6067864f66e2 100644 |
--- a/chrome/browser/notifications/notification_permission_infobar_delegate.h |
+++ b/chrome/browser/notifications/notification_permission_infobar_delegate.h |
@@ -8,11 +8,12 @@ |
#include <string> |
#include "base/macros.h" |
-#include "chrome/browser/permissions/permission_infobar_delegate.h" |
+#include "chrome/browser/permissions/single_permission_infobar_delegate.h" |
class InfoBarService; |
-class NotificationPermissionInfobarDelegate : public PermissionInfobarDelegate { |
+class NotificationPermissionInfoBarDelegate |
+ : public SinglePermissionInfoBarDelegate { |
public: |
// Creates a Notification permission infobar and delegate and adds the |
// infobar to |infobar_service|. Returns the infobar if it was successfully |
@@ -24,20 +25,18 @@ class NotificationPermissionInfobarDelegate : public PermissionInfobarDelegate { |
const PermissionSetCallback& callback); |
private: |
- NotificationPermissionInfobarDelegate(const GURL& requesting_frame, |
+ NotificationPermissionInfoBarDelegate(const GURL& requesting_frame, |
bool user_gesture, |
Profile* profile, |
const PermissionSetCallback& callback); |
- ~NotificationPermissionInfobarDelegate() override; |
+ ~NotificationPermissionInfoBarDelegate() override; |
- // PermissionInfoBarDelegate: |
+ // SinglePermissionInfoBarDelegate: |
infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; |
int GetIconId() const override; |
int GetMessageResourceId() const override; |
- GURL requesting_frame_; |
- |
- DISALLOW_COPY_AND_ASSIGN(NotificationPermissionInfobarDelegate); |
+ DISALLOW_COPY_AND_ASSIGN(NotificationPermissionInfoBarDelegate); |
}; |
#endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PERMISSION_INFOBAR_DELEGATE_H_ |