Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(421)

Side by Side Diff: content/child/notifications/notification_data_conversions.h

Issue 794633002: Remove ShowDesktopNotificationHostMsgParams in favor of PlatformNotificationData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_version.cc ('k') | content/child/notifications/notification_data_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698