• Stephane Zermatten's avatar
    [Autofill Assistant] Add support for the reset and stop actions. · bc52bfa0
    Stephane Zermatten authored
    The reset and stop actions control what happens after the script has
    finished executing.
    
    Without any of these, after the script ends, Autofill Assistant checks
    for more scripts that can be run, keeping in mind which scripts have
    been run and what their status was.
    
    If the script ran a reset action, the memory of which scripts were run
    is forgotten. Autofill Assistant restarts on the current URL, as if
    nothing had happened.
    
    If the script ran a stop action, Autofill Assistant shuts down after the
    end of the script. The UI and everything attached to it goes away.
    
    Bug: 806868
    Change-Id: I924aa2e0681c7824fb6fd70e24f1477a997577eb
    Reviewed-on: https://chromium-review.googlesource.com/1245796
    Commit-Queue: Stephane Zermatten <szermatt@chromium.org>
    Reviewed-by: default avatarRouslan Solomakhin <rouslan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#595032}
    bc52bfa0
stop_action.h 863 Bytes