Index: third_party/WebKit/public/platform/modules/fetch/FetchAPIRequest.typemap |
diff --git a/third_party/WebKit/public/platform/modules/fetch/FetchAPIRequest.typemap b/third_party/WebKit/public/platform/modules/fetch/FetchAPIRequest.typemap |
new file mode 100644 |
index 0000000000000000000000000000000000000000..207ad8904af49699f0d0fbc286e6063fea297e88 |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/modules/fetch/FetchAPIRequest.typemap |
@@ -0,0 +1,18 @@ |
+# 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 = "//third_party/WebKit/public/platform/modules/fetch/request.mojom" |
+public_headers = [ |
+ "//third_party/WebKit/public/platform/WebURLRequest.h", |
+ "//third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRequest.h", |
+] |
+traits_headers = [ "//third_party/WebKit/Source/platform/mojo/FetchAPIRequestStructTraits.h" ] |
+type_mappings = [ |
+ "blink.mojom.FetchCredentialsMode=::blink::WebURLRequest::FetchCredentialsMode", |
+ "blink.mojom.FetchRedirectMode=::blink::WebURLRequest::FetchRedirectMode", |
+ "blink.mojom.FetchRequestMode=::blink::WebURLRequest::FetchRequestMode", |
+ "blink.mojom.FetchAPIRequest=::blink::WebServiceWorkerRequest", |
+ "blink.mojom.RequestContextFrameType=::blink::WebURLRequest::FrameType", |
+ "blink.mojom.RequestContextType=::blink::WebURLRequest::RequestContext", |
+] |