commit | 7a94ffd61bf2df9eb5efa570eb922ca87d7f3529 | [log] [tgz] |
---|---|---|
author | Yutaka Hirano <yhirano@chromium.org> | Wed Nov 29 01:24:32 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 29 01:24:32 2017 |
tree | 92ff4491faf387caa4084c4c433635c46e721f0b | |
parent | 9cf57f49d9328b6c11af48ce5cd37113700eea71 [diff] |
Refactor ParsedContentHeaderFieldParameters and related classes This is a preliminary change for implementing charset replacement in XHR on top of ParsedContentType. This CL - Adds iterator getters for ParsedContentHeaderFieldParameters. - Makes ParsedContentHeaderFieldParameters a list of parameters instead of a dictionary. - Holds unmodified header names instead of lowered names. - Removes is_valid_ from ParsedContentHeaderFieldParameters, and adds the boolean (as part of Optional) to its holders. - Removed Mode::kStrict which can be checked after the parameters are parsed. Bug: 651750 Change-Id: I35db41bee74de8ef33b0b95ae56d039599c5b556 Reviewed-on: https://chromium-review.googlesource.com/781208 Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Reviewed-by: John Rummell <jrummell@chromium.org> Reviewed-by: Takeshi Yoshino <tyoshino@chromium.org> Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#519944}
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 .