• Stephane Zermatten's avatar
    [Autofill Assistant] Handle MANUAL_FALLBACK in Autofill Action like any other errors. · 98862b24
    Stephane Zermatten authored
    With this patch, the Autofill Action reports a MANUAL_FALLBACK or
    FAILED_PRECONDITION error and let the server decide what to do about it.
    
    Before this patch, the Autofill Action would handle these case
    specially, displaying an error and then interrupting the script.
    
    The goal of this change is to allow configuring the way the errors from
    Autofill Action are handled from the server, allowing retries for
    MANUAL_FALLBACK.
    
    Nowadays, FAILED_PRECONDITION is the sign of a script error instead of
    an expected manual fallback case. This is why it's now reported
    separately.
    
    Bug: b/125245527
    Change-Id: I79a0babd32affd2f2413813d377c458541dd2cac
    Reviewed-on: https://chromium-review.googlesource.com/c/1488890
    Commit-Queue: Stephane Zermatten <szermatt@chromium.org>
    Reviewed-by: default avatarMathias Carlen <mcarlen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#635956}
    98862b24
autofill_action.h 4.15 KB