commit | 5acc0a0a5fd123c5642f6e81cfbc78e0afed66d8 | [log] [tgz] |
---|---|---|
author | Kinuko Yasuda <kinuko@chromium.org> | Fri Sep 01 13:57:35 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Sep 01 13:57:35 2017 |
tree | b9d0f07b5d372bc9282a21c7ea6d6ac3bf72354a | |
parent | ad368586d08e57b65a6e10af7d07693d89da9f6a [diff] |
Use net::HttpRequestHeaders in content::ResourceRequest Today content::ResourceRequest (and mojom::URLRequest) sends extra HTTP headers as a \r\n-delimited string, but this means that everytime we go through URLLoader layer we need to serialize and deserialize headers, which feels a bit error-prone and inefficient. This CL tries to commonly use net::HttpRequestHeaders (which is basically a simple vector of key,value struct), and adds IPC support code as following: - content/public/common/common_param_traits.{h,cc} for legacy IPC - services/network/public/interfaces/http_request_headers.* for mojo Bug: Change-Id: Id84ea93d9c14edd2629e4a874ef022ff8d3b5b0a Reviewed-on: https://chromium-review.googlesource.com/633316 Commit-Queue: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Matt Menke <mmenke@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#499187}
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 .