commit | 8a8e2e2058afe6f1b6a2e39163536197725d0d63 | [log] [tgz] |
---|---|---|
author | Vaclav Brozek <vabr@chromium.org> | Fri Mar 23 22:01:06 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 23 22:01:06 2018 |
tree | 2cf453d0085fe6324eb12274f19acd771f509e7e | |
parent | 77833bc542b094a480b3238b5fc5088d71263e7f [diff] |
Improve _CheckUmaHistogramChanges presubmit The _CheckUmaHistogramChanges checks whether newly added UMA_HISTOGRAM_* calls only use defined histogram names. This CL removes two ways to introduce false positives: * Unrelated macro names which contain UMA_HISTOGRAM as a continuous substring * More than one string literal on the line with the histogram name. While those cases are rare, there seems no downside to fixing them. Bug: 821981 Change-Id: Ie1a803f562883f567d577e742ed2ed87fd0dfe66 Reviewed-on: https://chromium-review.googlesource.com/978245 Commit-Queue: Vaclav Brozek <vabr@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#545583}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .