Index: ui/notifications/notification_types.cc |
diff --git a/ui/notifications/notification_types.cc b/ui/notifications/notification_types.cc |
index 9ec43c88832262365550188346484949dffd6c8b..f7099a1b60fd12d0f1897b2b16a297893ced26cb 100644 |
--- a/ui/notifications/notification_types.cc |
+++ b/ui/notifications/notification_types.cc |
@@ -22,12 +22,15 @@ const char kImageUrlKey[] = "image_url"; |
const char kSimpleType[] = "simple"; |
const char kBaseFormatType[] = "base"; |
+const char kMultipleType[] = "multiple"; |
NotificationType StringToNotificationType(std::string& string_type) { |
if (string_type == kSimpleType) |
return NOTIFICATION_TYPE_SIMPLE; |
if (string_type == kBaseFormatType) |
return NOTIFICATION_TYPE_BASE_FORMAT; |
+ if (string_type == kMultipleType) |
+ return NOTIFICATION_TYPE_MULTIPLE; |
// In case of unrecognized string, fall back to most common type. |
return NOTIFICATION_TYPE_SIMPLE; |