Add an UMA stat to be able to see if the User pods are show on start screen,
[chromium-blink-merge.git] / content / child / notifications / notification_data_conversions.h
blob24a8bab1000b8bc77bccf858e92fb1d71bf44c88
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.
5 #ifndef CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_DATA_CONVERSIONS_H_
6 #define CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_DATA_CONVERSIONS_H_
8 #include "content/common/content_export.h"
9 #include "content/public/common/platform_notification_data.h"
10 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificationData.h"
12 namespace content {
14 // Converts Blink WebNotificationData to PlatformNotificationData.
15 CONTENT_EXPORT PlatformNotificationData ToPlatformNotificationData(
16 const blink::WebNotificationData& web_data);
18 // Converts PlatformNotificationData to Blink WebNotificationData.
19 CONTENT_EXPORT blink::WebNotificationData ToWebNotificationData(
20 const PlatformNotificationData& platform_data);
22 } // namespace content
24 #endif // CONTENT_CHILD_NOTIFICATIONS_NOTIFICATION_DATA_CONVERSIONS_H_