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

Unified Diff: content/common/push_messaging.typemap

Issue 2690203003: Convert push_messaging IPC msgs into mojo interfaces (Closed)
Patch Set: code rebase Created 3 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/push_messaging.mojom ('k') | content/common/push_messaging_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/push_messaging.typemap
diff --git a/content/common/push_messaging.typemap b/content/common/push_messaging.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..c2afcc82f217e030dc097eb68808022cfad289d9
--- /dev/null
+++ b/content/common/push_messaging.typemap
@@ -0,0 +1,28 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+mojom = "//content/common/push_messaging.mojom"
+public_headers = [
+ "//content/public/common/push_messaging_status.h",
+ "//content/public/common/push_subscription_options.h",
+ "//third_party/WebKit/public/platform/modules/push_messaging/WebPushError.h",
+ "//third_party/WebKit/public/platform/modules/push_messaging/WebPushPermissionStatus.h",
+]
+traits_headers = [ "//content/common/push_messaging_param_traits.h" ]
+sources = [
+ "//content/common/push_messaging_param_traits.cc",
+]
+deps = [
+ "//content:export",
+]
+public_deps = [
+ "//third_party/WebKit/public:blink_headers",
+]
+type_mappings = [
+ "content.mojom.PushErrorType=blink::WebPushError::ErrorType",
+ "content.mojom.PushGetRegistrationStatus=content::PushGetRegistrationStatus",
+ "content.mojom.PushPermissionStatus=blink::WebPushPermissionStatus",
+ "content.mojom.PushRegistrationStatus=content::PushRegistrationStatus",
+ "content.mojom.PushSubscriptionOptions=content::PushSubscriptionOptions",
+]
« no previous file with comments | « content/common/push_messaging.mojom ('k') | content/common/push_messaging_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698