[Sync::USS] Fix for frequent saving of bookmark model file
Before this CL, BookmarkModelTypeProcessor schedules a save upon changes in ModelTypeState even if they dont't involve changes in Sync entity metadata. This results in frequent writes of the bookmarks file which could be potentially large for some users. This CL makes sure that the file is saved only upon changes in the entity metadata. Bug: 945820 Change-Id: Ib0d581b1b585e5cc4bff1721bf8767abc047316d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538526 Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Reviewed-by:Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#644372}
Showing
Please register or sign in to comment