Persist account ID in sync metadata
This helps datatypes that are interested in the syncing account ID, without having to wait until sync engine starting (which is usually deferred for about 10 seconds). This field is convenient for user consents, although leveraging this data is not included in this patch. A dedicated method is introduced in ModelTypeChangeProcessor although it is somewhat redundant with IsTrackingMetadata(). The rationale is most datatypes don't care so it seems overkill to update all tests with extra boilerplate. Bug: 830535 Change-Id: I623b87c693894b5c0845fc3d03772b2701292a00 Reviewed-on: https://chromium-review.googlesource.com/1138236 Commit-Queue: Mikel Astiz <mastiz@chromium.org> Reviewed-by:Mohamed Amir Yosef <mamir@chromium.org> Cr-Commit-Position: refs/heads/master@{#593519}
Showing
Please register or sign in to comment