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

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

Issue 2443463003: Remove PermissionInfoBarDelegate from desktop builds. (Closed)
Patch Set: Add comment explaining lifetime Created 4 years, 2 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 fbe8ebc7b23d63528abedb9c05281283295bca80..aeccd6d76e2f0cc6aff78686b9ac3093bb2a3dab 100644
--- a/chrome/browser/notifications/notification_permission_infobar_delegate.h
+++ b/chrome/browser/notifications/notification_permission_infobar_delegate.h
@@ -10,24 +10,14 @@
#include "base/macros.h"
#include "chrome/browser/permissions/permission_infobar_delegate.h"
-class InfoBarService;
-
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
- // added.
- static infobars::InfoBar* Create(InfoBarService* infobar_service,
- const GURL& requesting_frame,
- bool user_gesture,
- Profile* profile,
- const PermissionSetCallback& callback);
-
- private:
NotificationPermissionInfoBarDelegate(const GURL& requesting_frame,
bool user_gesture,
Profile* profile,
const PermissionSetCallback& callback);
+
+ private:
~NotificationPermissionInfoBarDelegate() override;
// PermissionInfoBarDelegate:

Powered by Google App Engine
This is Rietveld 408576698