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

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

Issue 2490493002: Pass the permission type to NotificationPermissionInfoBarDelegate (Closed)
Patch Set: Pass the permission type to NotificationPermissionInfoBarDelegate Created 4 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/notifications/notification_permission_infobar_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 aeccd6d76e2f0cc6aff78686b9ac3093bb2a3dab..b9e4931b7a6303f39dde23dc964be4fda4cc8a5d 100644
--- a/chrome/browser/notifications/notification_permission_infobar_delegate.h
+++ b/chrome/browser/notifications/notification_permission_infobar_delegate.h
@@ -10,12 +10,18 @@
#include "base/macros.h"
#include "chrome/browser/permissions/permission_infobar_delegate.h"
+namespace content {
+enum class PermissionType;
+}
+
class NotificationPermissionInfoBarDelegate : public PermissionInfoBarDelegate {
public:
- NotificationPermissionInfoBarDelegate(const GURL& requesting_frame,
- bool user_gesture,
- Profile* profile,
- const PermissionSetCallback& callback);
+ NotificationPermissionInfoBarDelegate(
+ const content::PermissionType& permission_type,
+ const GURL& requesting_frame,
+ bool user_gesture,
+ Profile* profile,
+ const PermissionSetCallback& callback);
private:
~NotificationPermissionInfoBarDelegate() override;
« no previous file with comments | « no previous file | chrome/browser/notifications/notification_permission_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698