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

Unified Diff: third_party/WebKit/public/platform/modules/fetch/FetchAPIRequest.typemap

Issue 2762303002: Enable transmitting Fetch Requests over Mojo (Closed)
Patch Set: Enable transmitting Fetch Requests over Mojo Created 3 years, 9 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
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..ffed6a548172e08c9ed2d0d92d30a70b20b6dae3
--- /dev/null
+++ b/third_party/WebKit/public/platform/modules/fetch/FetchAPIRequest.typemap
@@ -0,0 +1,19 @@
+# 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 = [
+ "//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",
+]

Powered by Google App Engine
This is Rietveld 408576698