| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/notifications/notification_conversion_helper.h" | 5 #include "chrome/browser/notifications/notification_conversion_helper.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include <string> | 10 #include <string> |
| 8 #include <utility> | 11 #include <utility> |
| 9 #include <vector> | 12 #include <vector> |
| 10 | 13 |
| 11 #include "base/logging.h" | 14 #include "base/logging.h" |
| 12 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
| 14 #include "chrome/common/extensions/api/notification_provider.h" | 17 #include "chrome/common/extensions/api/notification_provider.h" |
| 15 #include "chrome/common/extensions/api/notifications/notification_style.h" | 18 #include "chrome/common/extensions/api/notifications/notification_style.h" |
| 16 #include "ui/gfx/image/image_skia.h" | 19 #include "ui/gfx/image/image_skia.h" |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 return "image"; | 208 return "image"; |
| 206 case message_center::NOTIFICATION_TYPE_MULTIPLE: | 209 case message_center::NOTIFICATION_TYPE_MULTIPLE: |
| 207 return "list"; | 210 return "list"; |
| 208 case message_center::NOTIFICATION_TYPE_PROGRESS: | 211 case message_center::NOTIFICATION_TYPE_PROGRESS: |
| 209 return "progress"; | 212 return "progress"; |
| 210 default: | 213 default: |
| 211 NOTREACHED(); | 214 NOTREACHED(); |
| 212 return ""; | 215 return ""; |
| 213 } | 216 } |
| 214 } | 217 } |
| OLD | NEW |