• Mathias Carlen's avatar
    [Autofill Assistant] Filter fetch_website_actions. · 3f824413
    Mathias Carlen authored
    Before this patch, all potential direct actions were reported
    unconditionally. The fetch_website_actions direct action is only
    required to bring up the AA stack and fetch/check for scripts once.
    This patch ties this filtering to the controller being up and ready and
    the first round of scripts has been checked for matching preconditions.
    
    This will give external callers a better signal as to when AA is up to
    date and when it needs to be setup first before being able to execute
    actions.
    
    Bug: b/138833619
    Change-Id: I8acb0c7ea7937a0cbafe1462e92251c29153b818
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879911
    Commit-Queue: Mathias Carlen <mcarlen@chromium.org>
    Reviewed-by: default avatarStephane Zermatten <szermatt@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#709851}
    3f824413
controller_unittest.cc 65.7 KB