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..514c99601153d7aa2c3e2c95f7d0f2dac84745b3 |
--- /dev/null |
+++ b/content/common/service_worker/service_worker_fetch_request.typemap |
@@ -0,0 +1,23 @@ |
+# 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 = [ |
+ "//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", |
+] |