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", |
+] |