commit | 9278acaca70fd85c7000969f5ecfec33a4badc17 | [log] [tgz] |
---|---|---|
author | Leon Han <leon.han@intel.com> | Mon Jan 14 02:48:40 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jan 14 02:48:40 2019 |
tree | 3beec0fe2619a2647667af1ee89203780d157c20 | |
parent | e9521b0b1d29d49bf765208af5e20146658f09f9 [diff] |
[OnionSoup] Create mojom traits for typemapping network.mojom.URLRequest This CL makes network.mojom.URLRequest not a [Native] mojom struct: - define all its fields well. - create the mojom struct traits for keeping its typemap to network::ResourceRequest. - the legacy IPC struct traits of network::ResourceRequest becomes useless, remove it. This makes network.mojom.URLRequest no more than a mirror of network::ResourceRequest, by defining each field as almost the same type with the mirror filed in network::ResourceRequest, this is not the final definition but a start point for refining, which may happen in the future when we create the typemap to blink::ResourceRequest for Blink variant. The future plan would be: - make network.mojom.URLRequestBody not a [Native] one, keeping its typemap to network::ResourceRequestBody. - for Blink variant create a typemap to blink::EncodedFormData for network.mojom.URLRequestBody. - for Blink variant create a typemap to blink::ResourceRequest for network.mojom.URLRequest. BUG=860403 Change-Id: I4b962cd42d093d3f03070a2eeb197dabfcbd9d01 Reviewed-on: https://chromium-review.googlesource.com/c/1381735 Commit-Queue: Leon Han <leon.han@intel.com> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Matt Menke <mmenke@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Reviewed-by: Makoto Shimazu <shimazu@chromium.org> Cr-Commit-Position: refs/heads/master@{#622375}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .