Move parsing of protos away from UI thread for pseudo-USS
We've seen reports (in non-pseudo-USS datatypes, e.g. https://bugs.chromium.org/p/chromium/issues/detail?id=902203) that suggest proto-parsing can take noticeable time if executed on the UI thread. Since this will be a common situation for most sync datatypes, let's add a convenience function in ModelTypeStore itself and adopt it for pseudo-USS types (SyncableServiceBasedBridge). Bug: 870624 Change-Id: Id9cee20c7f384ac51d4f5353b4aae831b5e74749 Reviewed-on: https://chromium-review.googlesource.com/c/1349313Reviewed-by:Marc Treib <treib@chromium.org> Commit-Queue: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#610838}
Showing
Please register or sign in to comment