| 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 #ifndef CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_DATA_CONVERSIONS_H_ | 5 #ifndef CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_DATA_CONVERSIONS_H_ |
| 6 #define CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_DATA_CONVERSIONS_H_ | 6 #define CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_DATA_CONVERSIONS_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/public/common/platform_notification_data.h" | 9 #include "content/public/common/platform_notification_data.h" |
| 10 #include "third_party/WebKit/public/platform/WebNotificationData.h" | 10 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati
onData.h" |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 | 13 |
| 14 // Converts Blink WebNotificationData to PlatformNotificationData. | 14 // Converts Blink WebNotificationData to PlatformNotificationData. |
| 15 CONTENT_EXPORT PlatformNotificationData ToPlatformNotificationData( | 15 CONTENT_EXPORT PlatformNotificationData ToPlatformNotificationData( |
| 16 const blink::WebNotificationData& web_data); | 16 const blink::WebNotificationData& web_data); |
| 17 | 17 |
| 18 // Converts PlatformNotificationData to Blink WebNotificationData. | 18 // Converts PlatformNotificationData to Blink WebNotificationData. |
| 19 CONTENT_EXPORT blink::WebNotificationData ToWebNotificationData( | 19 CONTENT_EXPORT blink::WebNotificationData ToWebNotificationData( |
| 20 const PlatformNotificationData& platform_data); | 20 const PlatformNotificationData& platform_data); |
| 21 | 21 |
| 22 } // namespace content | 22 } // namespace content |
| 23 | 23 |
| 24 #endif // CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_DATA_CONVERSIONS_H_ | 24 #endif // CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_DATA_CONVERSIONS_H_ |
| OLD | NEW |