[User events] Get rid of dependency: UserEventService -> PSS
This CL gets rid of ProfileSyncService usage both in UserEventService and in its factory. This usage was for checking whether user events should get synced up. Part of these checks were obsolete (by having USER_CONSENT a separate data type now) as user consents are always enabled together with history sync. Part of these checks were moved to a new controller subclass for USER_EVENTS. This controller notably checks whether custom passphrase encryption is not enabled. Bug: 850428 Change-Id: Ie8be4e37c5c4a51d9c3c1f17c74cd9fb7449a52c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1349257Reviewed-by:Markus Heintz <markusheintz@chromium.org> Reviewed-by:
Mikel Astiz <mastiz@chromium.org> Reviewed-by:
Marc Treib <treib@chromium.org> Commit-Queue: Jan Krcal <jkrcal@chromium.org> Cr-Commit-Position: refs/heads/master@{#649119}
Showing
Please register or sign in to comment