Index: chrome/browser/content_settings/permission_queue_controller.cc |
diff --git a/chrome/browser/content_settings/permission_queue_controller.cc b/chrome/browser/content_settings/permission_queue_controller.cc |
index c0c395a2de4384da5b77042beddff68fd945d0ad..402ce205cf4f6c582d21348c39a3113700d943d8 100644 |
--- a/chrome/browser/content_settings/permission_queue_controller.cc |
+++ b/chrome/browser/content_settings/permission_queue_controller.cc |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/geolocation/geolocation_infobar_delegate.h" |
#include "chrome/browser/infobars/infobar_service.h" |
#include "chrome/browser/media/midi_permission_infobar_delegate.h" |
+#include "chrome/browser/notifications/desktop_notification_infobar_delegate.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/services/gcm/push_messaging_infobar_delegate.h" |
#include "chrome/browser/tab_contents/tab_util.h" |
@@ -114,6 +115,11 @@ void PermissionQueueController::PendingInfobarRequest::CreateInfoBar( |
GetInfoBarService(id_), controller, id_, requesting_frame_, |
display_languages, accept_button_label_); |
break; |
+ case CONTENT_SETTINGS_TYPE_NOTIFICATIONS: |
+ infobar_ = DesktopNotificationInfoBarDelegate::Create( |
+ GetInfoBarService(id_), controller, id_, requesting_frame_, |
+ display_languages); |
+ break; |
case CONTENT_SETTINGS_TYPE_MIDI_SYSEX: |
infobar_ = MidiPermissionInfoBarDelegate::Create( |
GetInfoBarService(id_), controller, id_, requesting_frame_, |