commit | 11e451f6ed3ca0cfc26528d07b81e1cd67f11098 | [log] [tgz] |
---|---|---|
author | Alex Cooper <alcooper@chromium.org> | Tue Jan 04 19:14:16 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 04 19:14:16 2022 |
tree | fc37080bb1399ecba53ca28759081d32b28c1738 | |
parent | 208a1ee1e92ea219be5003addccb5da46474c216 [diff] |
[CodeHealth] Remove GetInteger in /chrome/browser/metrics Removes deprecated usages of Dictionaryvalue::GetInteger and replaces them with corresponding FindIntKey or FindIntPath usages. Note that GetInteger would return success but simply not set the value if provided a nullptr for the out param. For places that simply took a pointer and passed it through to GetInteger without validating the pointer this behavior has been preserved. No behavior changes are intended as a result of this, but some code patterns needed to be changed as a result of the different return type. This CL was uploaded by git cl split. Bug: 1187034 Change-Id: I5650ec002996080898fddbe6a7cbe4e99cd8fb4c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3362444 Auto-Submit: Alexander Cooper <alcooper@chromium.org> Reviewed-by: Brian White <bcwhite@chromium.org> Commit-Queue: Brian White <bcwhite@chromium.org> Cr-Commit-Position: refs/heads/main@{#955268}
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.