| Index: content/browser/notifications/type_converters.h
|
| diff --git a/content/browser/notifications/type_converters.h b/content/browser/notifications/type_converters.h
|
| index b9a364048b04c866120a932296cbc141e9808842..1597025904dd3221d3bc008eba7f2bab45924e06 100644
|
| --- a/content/browser/notifications/type_converters.h
|
| +++ b/content/browser/notifications/type_converters.h
|
| @@ -6,13 +6,15 @@
|
| #define CONTENT_BROWSER_NOTIFICATIONS_TYPE_CONVERTERS_H_
|
|
|
| #include "content/common/content_export.h"
|
| +#include "content/public/common/notification_resources.h"
|
| #include "content/public/common/platform_notification_data.h"
|
| #include "third_party/WebKit/public/platform/modules/notifications/notification.mojom.h"
|
| +#include "third_party/WebKit/public/platform/modules/notifications/notification_resources.mojom.h"
|
|
|
| namespace mojo {
|
|
|
| // TODO(peter): Remove these converters together with the entire
|
| -// PlatformNotificationData type.
|
| +// PlatformNotificationData and NotificationResources types.
|
|
|
| template <>
|
| struct TypeConverter<content::PlatformNotificationData,
|
| @@ -28,6 +30,13 @@ struct TypeConverter<blink::mojom::NotificationPtr,
|
| const content::PlatformNotificationData& notification_data);
|
| };
|
|
|
| +template <>
|
| +struct TypeConverter<content::NotificationResources,
|
| + blink::mojom::NotificationResourcesPtr> {
|
| + static CONTENT_EXPORT content::NotificationResources Convert(
|
| + const blink::mojom::NotificationResourcesPtr& resources);
|
| +};
|
| +
|
| } // namespace mojo
|
|
|
| #endif // CONTENT_BROWSER_NOTIFICATIONS_TYPE_CONVERTERS_H_
|
|
|