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