commit | 0a077e3631dfe711f4ca6a9306ec178eb1b814a7 | [log] [tgz] |
---|---|---|
author | Matt Menke <mmenke@chromium.org> | Wed Oct 02 04:33:31 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 02 04:33:31 2024 |
tree | 9a79a499341c67af49d1f7f7e7688207f0631b78 | |
parent | 944569db1cdf410f73b02c7f09db48319e0ad3d5 [diff] |
Migrate HttpResponseHeaders to (mostly) use new EnumerateHeader API. The new API uses string_views instead of strings, to avoid unnecessary copies. This code leaves a couple consumers of the old API alone, to limit CL size. This CL also switches AddNonCacheableHeaders() to using SplitStringPiece() instead of manually splitting a string around commas, to simplify the code a bit. Bug: 369788644 Change-Id: I5de216b27fb4b778feda31c66c0ba83f5d2e9945 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5898246 Commit-Queue: mmenke <mmenke@chromium.org> Reviewed-by: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1362838}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.