• Mikel Astiz's avatar
    Fix [D]CHECK failure in local sync · 7b89a95b
    Mikel Astiz authored
    ModelTypeController assumes that the user must be signed in by the time
    a datatype gets started. This however doesn't hold true for local sync,
    so we relax the requirement.
    
    Some datatypes have similar requirements in their bridge
    implementations, so we disable those datatypes for local sync.
    
    The patch introduces first browser tests for local sync, which would
    have caught such a basic issue.
    
    Bug: 887250
    Change-Id: I1bca79478958ac64ee5502e4795f8619ee50e85c
    Reviewed-on: https://chromium-review.googlesource.com/1235935
    Commit-Queue: Mikel Astiz <mastiz@chromium.org>
    Reviewed-by: default avatarMarc Treib <treib@chromium.org>
    Reviewed-by: default avatarJulian Pastarmov <pastarmovj@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#592792}
    7b89a95b
BUILD.gn 295 KB