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

Unified Diff: content/common/service_worker/service_worker_fetch_request.typemap

Issue 2762303002: Enable transmitting Fetch Requests over Mojo (Closed)
Patch Set: rebase 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: 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",
+]

Powered by Google App Engine
This is Rietveld 408576698