Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: chrome/browser/notifications/notification_permission_infobar_delegate.h

Issue 2250053002: Clean up the PermissionInfoBarDelegate hierarchy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-infobar-remember-decision
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..fbe8ebc7b23d63528abedb9c05281283295bca80 100644
--- a/chrome/browser/notifications/notification_permission_infobar_delegate.h
+++ b/chrome/browser/notifications/notification_permission_infobar_delegate.h
@@ -12,7 +12,7 @@
class InfoBarService;
-class NotificationPermissionInfobarDelegate : public PermissionInfobarDelegate {
+class NotificationPermissionInfoBarDelegate : public PermissionInfoBarDelegate {
public:
// Creates a Notification permission infobar and delegate and adds the
// infobar to |infobar_service|. Returns the infobar if it was successfully
@@ -24,20 +24,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:
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_

Powered by Google App Engine
This is Rietveld 408576698