commit | 6614700ffdd4d4ad34ecfa37eaaf6d11d6754be7 | [log] [tgz] |
---|---|---|
author | Bruce Dawson <brucedawson@chromium.org> | Tue Oct 05 20:35:27 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 05 20:35:27 2021 |
tree | 9bded98ca407a490115f5d7a0c2ccf202211089b | |
parent | 4cf52003e7e4c17790a6d91ae6391255ace25192 [diff] |
Enforce not including windows.h in content_analysis_dialog.cc Windows.h is now included in far fewer translation units in Chrome, but keeping it that way requires enforcement. This change adds a #error that will be triggered if windows.h is included in this source file. This file is one of the ones chosen because it was one of the source files that used to inadvertently include windows.h. Bug: 796644 Change-Id: I58de6751a7036aac027799b7a256abd1c5114d4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3198195 Reviewed-by: Roger Tawa <rogerta@chromium.org> Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Cr-Commit-Position: refs/heads/main@{#928316}
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.