[iOS] Youtube Incognito metrics

This cl adds a histogram to check the response received from app
switcher when fetching the application mode. The response can either be
success (incognito/non-incognito), an error (failure) or a timeout
generated when the response takes more than 500ms.

Bug: 385074413, 375186412
Change-Id: Ida8180aaa3f1c12abc4837087bde72ef2ada1cc9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6228001
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Robbie Gibson <rkgibson@google.com>
Commit-Queue: Elmehdi Rahmaoui <erahmaoui@google.com>
Cr-Commit-Position: refs/heads/main@{#1415591}
NOKEYCHECK=True
GitOrigin-RevId: 253eaf381b8e2e11c7e2ce305ba185f508f4eeba
2 files changed
tree: 045fa3b982c24eeffd16eb9dcf4d0174bf566cb9
  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.