[Sync] Notify observers on the initial load of DeviceInfos
OnDeviceInfoChange() should be called on each change of the device info list. Some observers expect that this callback will be invoked on each change, even after loading from the persistent storage when the list hasn't been actually changed on browser startup. This CL slightly changes this behaviour. Observers will be notified when the metadata is fully loaded and the local device hasn't been changed. Bug: 1023457 Change-Id: I8012e5dda272bab7d218d9d51dca6ca5af5053ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2633623 Commit-Queue: Rushan Suleymanov <rushans@google.com> Reviewed-by:Jan Krcal <jkrcal@chromium.org> Cr-Commit-Position: refs/heads/master@{#846049}
Showing
Please register or sign in to comment