• Sky Malice's avatar
    [Sync] Fix test UserEvent creation. · 4920476d
    Sky Malice authored
    Due to the recent rework of how to decide if events should be recorded
    or not, the test events created through sync-internals was not updated.
    This fixes them by making two changes.
    
    1. event_case() is now correctly set so that the service can identify
    the type of event.
    
    2. navigation_id's presence is not set if the text field is not filled
    in, allowing it to bypass the requirement for history sync to be
    enabled.
    
    Bug: 792730
    Change-Id: Icabf100da886cbd28efc8db2ce3e6e8cb4a50af1
    Reviewed-on: https://chromium-review.googlesource.com/812975
    Commit-Queue: Sky Malice <skym@chromium.org>
    Reviewed-by: default avatarPatrick Noland <pnoland@google.com>
    Cr-Commit-Position: refs/heads/master@{#522298}
    4920476d
sync_internals_message_handler.cc 12 KB