| commit | f09a6ea0003d91d4276dd57e109afe1dda68f1eb | [log] [tgz] |
|---|---|---|
| author | Sergio Solano <sergiosolano@google.com> | Fri Dec 19 18:06:45 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 19 18:06:45 2025 |
| tree | 40dcf997542ced90c5a390fe5bda8401b8bb8131 | |
| parent | bf0634f863aac3682a856df3e4fd0d761997e60b [diff] |
spanification: spanified and manually checked url_canon_ip.cc This change modernized the code and improves type safety by using std::string_views and base::span. UNSAFE macros are removed. This is the result of running the automatic spanification on linux and updating code to use and pass spans where size is known. The original patch was fully automated using script: //tools/clang/spanify/rewrite-multiple-platforms.sh -platforms=linux Then refined with gemini-cli gemini-run/batch-run-1761798078/group_99 BUG=439964610 Change-Id: Idfe7e667ffa1d69abf1c034ceb087a7d879bbff2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7204761 Commit-Queue: Xiangdong Kong <xiangdongkong@google.com> Auto-Submit: Sergio Solano <sergiosolano@google.com> Reviewed-by: Xiangdong Kong <xiangdongkong@google.com> Reviewed-by: Stephen Nusko <nuskos@chromium.org> Cr-Commit-Position: refs/heads/main@{#1561226}
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.