• Stephane Zermatten's avatar
    [Autofill Assistant] Track and report the result of actions. · 31bc2af9
    Stephane Zermatten authored
    Extend the AssistantScriptExecutor to store the result of processing
    action, successful or not, and report it to the server, which then
    decides what new actions to execute.
    
    A notable change is the switch from passing to the actions exactly the
    data they need from passing the original action proto, as the
    original action proto is necessary anyways to generate a proper result
    proto.
    
    This also adds a unit test for the script executor and fix some, but not
    all, incompatibilities between the protos defined in assistant.proto and
    those on the server.
    
    Change-Id: I190768fb97399daaf347acac762c6ecbb5fe7cad
    Bug: 806868
    Reviewed-on: https://chromium-review.googlesource.com/1179894
    Commit-Queue: Stephane Zermatten <szermatt@google.com>
    Reviewed-by: default avatarJochen Eisinger <jochen@chromium.org>
    Reviewed-by: default avatarGanggui Tang <gogerald@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#585427}
    31bc2af9
assistant_click_action.cc 1015 Bytes