diff options
Diffstat (limited to 'chrome/browser/notifications/message_center_notification_manager.cc')
-rw-r--r-- | chrome/browser/notifications/message_center_notification_manager.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/notifications/message_center_notification_manager.cc b/chrome/browser/notifications/message_center_notification_manager.cc index 65c9893..1aa4665 100644 --- a/chrome/browser/notifications/message_center_notification_manager.cc +++ b/chrome/browser/notifications/message_center_notification_manager.cc @@ -190,6 +190,12 @@ void MessageCenterNotificationManager::NotificationRemoved( void MessageCenterNotificationManager::ShowSettings( const std::string& notification_id) { + // The per-message-center Settings button passes an empty string. + if (notification_id.empty()) { + NOTIMPLEMENTED(); + return; + } + ProfileNotification* profile_notification = FindProfileNotification(notification_id); Browser* browser = |