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

Unified Diff: chrome/browser/permissions/permission_infobar_delegate.cc

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 | « chrome/browser/notifications/notification_permission_infobar_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/permissions/permission_infobar_delegate.cc
diff --git a/chrome/browser/permissions/permission_infobar_delegate.cc b/chrome/browser/permissions/permission_infobar_delegate.cc
index 180f331528de17c8d4e5ccdd3efc00de461ed1e0..a5ee3ecd9cf8dbe6c57c1f0169433eb34342d77c 100644
--- a/chrome/browser/permissions/permission_infobar_delegate.cc
+++ b/chrome/browser/permissions/permission_infobar_delegate.cc
@@ -57,7 +57,7 @@ PermissionInfoBarDelegate::CreateDelegate(
case content::PermissionType::PUSH_MESSAGING:
return std::unique_ptr<PermissionInfoBarDelegate>(
new NotificationPermissionInfoBarDelegate(
- requesting_frame, user_gesture, profile, callback));
+ type, requesting_frame, user_gesture, profile, callback));
#endif // ENABLE_NOTIFICATIONS
case content::PermissionType::MIDI_SYSEX:
return std::unique_ptr<PermissionInfoBarDelegate>(
« no previous file with comments | « chrome/browser/notifications/notification_permission_infobar_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698