| Index: ui/notifications/notification_types.cc
|
| diff --git a/ui/notifications/notification_types.cc b/ui/notifications/notification_types.cc
|
| index cb3ea8410677c30ea087775f7f14484ff34a7efe..cec431efdd12df24626fa9e8d59281720eb4ade5 100644
|
| --- a/ui/notifications/notification_types.cc
|
| +++ b/ui/notifications/notification_types.cc
|
| @@ -22,20 +22,6 @@ const char kItemsKey[] = "items";
|
| const char kItemTitleKey[] = "title";
|
| const char kItemMessageKey[] = "message";
|
|
|
| -const char kSimpleType[] = "simple";
|
| -const char kBaseFormatType[] = "base";
|
| -const char kImageType[] = "image";
|
| -const char kMultipleType[] = "multiple";
|
| -
|
| -NotificationType StringToNotificationType(std::string& string_type) {
|
| - // In case of unrecognized string, fall back to most common type.
|
| - return (string_type == kSimpleType) ? NOTIFICATION_TYPE_SIMPLE :
|
| - (string_type == kBaseFormatType) ? NOTIFICATION_TYPE_BASE_FORMAT :
|
| - (string_type == kImageType) ? NOTIFICATION_TYPE_IMAGE :
|
| - (string_type == kMultipleType) ? NOTIFICATION_TYPE_MULTIPLE :
|
| - NOTIFICATION_TYPE_SIMPLE;
|
| -}
|
| -
|
| } // namespace notifications
|
|
|
| } // namespace ui
|
|
|