commit | 7f5a705dc589d70873d5a939fafa53ef58f3d01d | [log] [tgz] |
---|---|---|
author | Yao Li <[email protected]> | Tue Nov 23 22:30:56 2021 |
committer | Chromium LUCI CQ <[email protected]> | Tue Nov 23 22:30:56 2021 |
tree | 8de81fbcdde718e7d158ba129741a7ad91275f45 | |
parent | a82f772230cc14e11616e48ac7e3727ba09c9372 [diff] |
presubmit: Add hint for std::unique_ptr usage error The hint points to base::WrapUnique, for when it's not possible to use std::make_unique<T>() as suggested in existing hint. Bug: None Test: Trying to submit a CL with the given issue would show the new error message. Change-Id: Ifabfc5ebd2e46e3fe5ff0e6cc1adafd063b2dae6 Change-Id: I49045962b178b97584ad952f8e0117c17df5b849 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3296674 Auto-Submit: Yao Li <[email protected]> Commit-Queue: Yao Li <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Cr-Commit-Position: refs/heads/main@{#944702}
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.