AccountProfileMapper observes ProfileAttributesStorageIOS

...using a newly-introduced ProfileAttributesStorageIOS::Observer.

This allows AccountProfileMapper to react properly to changes in the
primary account, which can sometimes (mostly in migration cases)
affect the account-profile mappings.

Bug: 355167413
Change-Id: Ie981d8b33cd8e7a5e407d1cd7df5078451493853
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6225845
Reviewed-by: Jérôme Lebel <jlebel@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Auto-Submit: Marc Treib <treib@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1417383}
NOKEYCHECK=True
GitOrigin-RevId: 4867259816d0e38fb1e7a14554025f7f3882b24c
7 files changed
tree: 98c04acd6bc3af87f42d6320e7b1ccb09832ba87
  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.