[ios] Update defaultResult() for configurable widgets

Update defaultResult() to support the case in which there is no account
on that device. In that case string "No account" will be displayed.

Bug: 376679167
Change-Id: I7423dee9f74f285d070a23283fd0698075a6b08d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6218373
Commit-Queue: Federica Germinario <fedegermi@google.com>
Reviewed-by: Robbie Gibson <rkgibson@google.com>
Cr-Commit-Position: refs/heads/main@{#1415622}
NOKEYCHECK=True
GitOrigin-RevId: ba9d209048a5d127910f40a9b73c7745d659e504
1 file changed
tree: 70080b7dd9421d00599eaac570eefc74759b8c25
  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.