Add UMA to track 4XX - 5XX status codes; update UMA names

This CL does two things to improve the specificity of the histogram data
collected for error navigations:
(1) Introduces a new histogram to track
the proportion of navigations which result in 4XX - 5XX status codes
specifically, and

(2) Corrects the language around a previously added
histogram to clarify that it actually tracks ShouldUpdateHistory() for
chrome/ and IsError() for ios/. The difference is that
ShouldUpdateHistory() returns true for more than just 4XX - 5XX status
codes, and that information is now reflected in the name and description
of the histogram.

OBSOLETE_HISTOGRAM[History.IsErrorNavigation]=Renamed History.ShouldUpdateHistory.

Change-Id: I52db22ecfab491b2c2d667bb0f34b6e0712cc2dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6221836
Commit-Queue: Kyra Seevers <kyraseevers@chromium.org>
Reviewed-by: Sophie Chang <sophiechang@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1417458}
NOKEYCHECK=True
GitOrigin-RevId: 5d706fbda9bd55784191448eee3c11934de44fbb
1 file changed
tree: 79852de8a36ee90c8845bf0d2f60a721d4f09434
  1. build/
  2. chrome/
  3. components/
  4. google_internal/
  5. intents/
  6. net/
  7. public/
  8. testing/
  9. third_party/
  10. tools/
  11. web/
  12. web_view/
  13. .swift-format
  14. BUILD.gn
  15. COMMON_METADATA
  16. DEPS
  17. DIR_METADATA
  18. features.gni
  19. OWNERS
  20. PRESUBMIT.py
  21. PRESUBMIT_test.py
  22. README.md
README.md

This directory holds code related to Chrome for iOS. See this document for a description of the structure underneath this directory.