commit | d56afb57d11eaa4f281b5ce6615a653f6d82aae5 | [log] [tgz] |
---|---|---|
author | Lei Zhang <thestig@chromium.org> | Fri Apr 23 23:13:46 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 23 23:13:46 2021 |
tree | a3d74bf4126c36c43169cfa9fa57655b82be0378 | |
parent | 4a4bbcf939f2a484e595f76002e71b2d3ffac81c [diff] |
Delete unused STL includes from content/ headers. Headers that do not contain "std::" do not need STL includes. This CL is mechanically generated as follows: INCL="algorithm|array|list|map|memory|queue|set|string|utility|vector" git ls-files content | grep '\.h$' | xargs grep -L std:: | \ xargs grep -El "#include <($INCL)>$" > to_process.txt INCL_ESCAPED="$(echo $INCL|sed 's/|/\\|/g')" cat to_process.txt | xargs sed -i "/^#include <\($INCL_ESCAPED\)>$/d" cat to_process.txt | xargs sed -i '/^$/N;/^\n$/D' Bug: 1200833 Change-Id: I3b8c9af66e23b37c3051760a7c5d4e132f9043a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2841623 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Camille Lamy <clamy@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#875908}
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.