[SyncInvalidations] Introduce new Sync Invalidations feature flags.
SubscribeForSyncInvalidations flag is removed, and mostly replaced by the new flag SyncSendInterestedDataTypes. If that flag is enabled, SyncInvalidationsService is created, and the set of interested data types is sent to the server (as part of DeviceInfo). New flag UseSyncInvalidations is introduced. If both SyncSendInterestedDataTypes and this flag are enabled, FCMHandler can register with FCM and listen to new invalidations. Also, FCM token will be included in DeviceInfo. Unsubscribing from old invalidations behind these flags will be added in a separate CL. Bug: 1082115 Change-Id: I66eb2f254473d2f897cc15f054dcd6dafdc76708 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2429008Reviewed-by:Rushan Suleymanov <rushans@google.com> Reviewed-by:
Eugene But <eugenebut@chromium.org> Commit-Queue: Paula Vidas <paulavidas@google.com> Cr-Commit-Position: refs/heads/master@{#811150}
Showing
Please register or sign in to comment