commit | 83f2962634c177f2cdb2726247966781c6b37167 | [log] [tgz] |
---|---|---|
author | Richard Li <richard.li@intel.com> | Tue Oct 30 14:27:20 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Oct 30 14:27:20 2018 |
tree | 4955769541a7b539216e21d492053da87c7f1439 | |
parent | d931b2e1e33f7feb25174acf1cd1cb93c660b11f [diff] |
[OnionSoup] de-couple typemapping of content::SWFetchRequest This CL de-couples typemapping between content::SWFetchRequest and blink::mojom::FetchAPIRequest. The target of this work is removing content::SWFetchRequest. Since content::SWFetchRequest is a widely used class. Removing it in one CL resulting in unacceptable large size of CL. In order to seperate the work into sereral steps. A converter was added to make convertion between two structures in this CL. In my plan, content::SWFetchRequest will be removed in a series of CLs gradually. The ultimate target of the whole work is moving fetch_api_request.mojom into third_party/blink/public/mojom/fetch/ folder. To accomplish the goal, the whole work is seperated into six parts. 1. Remove content::RequestContextType. Use blink.mojom.RequestContextType instead. --------- CL:1229704 2. Remove content::ServiceWorkerFetchRequest. Use blink.mojom.FetchAPIRequest instead. --------This CL. 3. Remove blink::WebURLRequest::RequestContext. Use blink.mojom.RequestContextType instead. --------- CL:1242301 4. Remove blink::WebServiceWorkerRequest. Use blink.mojom.FetchAPIRequest instead. 5. Remove blink::WebReferrerPolicy. Use blink::mojom::ReferrerPolicy instead. --------- CL:1212345 6. Remove content::Referrer, blink::Referrer Use blink::mojom::Referrer instead. Once all the above tasks get done, fetch_api_request.mojom can be moved into that folder. Change-Id: I2b299bd8b2830afffefe111716170c1a29e41098 Bug: 789854 Reviewed-on: https://chromium-review.googlesource.com/c/1288084 Commit-Queue: Richard Li <richard.li@intel.com> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#603891}
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 .