Index: content/common/service_worker/service_worker_fetch_request.typemap |
diff --git a/content/common/service_worker/service_worker_fetch_request.typemap b/content/common/service_worker/service_worker_fetch_request.typemap |
new file mode 100644 |
index 0000000000000000000000000000000000000000..716ddcf6f5397a126050df902c0d966e05905819 |
--- /dev/null |
+++ b/content/common/service_worker/service_worker_fetch_request.typemap |
@@ -0,0 +1,24 @@ |
+# 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/fetch_api_request.mojom" |
+public_headers = [ |
+ "//content/common/service_worker/service_worker_types.h", |
+ "//content/public/common/request_context_frame_type.h", |
+ "//content/public/common/request_context_type.h", |
+] |
+traits_headers = [ "//content/common/service_worker/service_worker_fetch_request_struct_traits.h" ] |
+sources = [ |
+ "//content/common/service_worker/service_worker_fetch_request_struct_traits.cc", |
+] |
+type_mappings = [ |
+ "blink.mojom.FetchCredentialsMode=::content::FetchCredentialsMode", |
+ "blink.mojom.FetchRedirectMode=::content::FetchRedirectMode", |
+ "blink.mojom.FetchRequestMode=::content::FetchRequestMode", |
+ "blink.mojom.FetchAPIRequest=::content::ServiceWorkerFetchRequest", |
+ "blink.mojom.RequestContextFrameType=::content::RequestContextFrameType", |
+ "blink.mojom.RequestContextType=::content::RequestContextType", |
+ "blink.mojom.ServiceWorkerFetchType=::content::ServiceWorkerFetchType", |
+] |