Description[sync] Isolate FOREIGN_SESSION_UPDATED notification in ProfileSyncService
This CL paves the way for elimination of the FOREIGN_SESSION_UPDATED
notification as part of componentizing sync code. Concretely, it replaces the
notification via a SyncServiceObserver method and changes consumers to use the
observer method instead.
Currently, ProfileSyncService triggers the observer callback by itself
listening for the FOREIGN_SESSION_UPDATED method. Once SessionsSyncManager has
been changed to communicate directly with ProfileSyncService rather than
sending the notification, the notification can be eliminated entirely.
BUG=512825
Committed: https://crrev.com/fc39f9aad7e4353304c7e2ad47f768871cd2bb83
Cr-Commit-Position: refs/heads/master@{#357061}
Patch Set 1 #
Messages
Total messages: 10 (2 generated)
|