[Autofill Assistant] Introduce in-place scripts updates.
Sub-scripts part of larger scripts are not explicitly known to the client, hence status match preconditions could not be applied in that case. Before this patch, this kind of script filtering was not possible. This patch introduces a way of updating the list of available scripts mid script execution by reporting an updated list as part of the get actions response. The updated list will be used when the script execution finishes and another round of precondition checks is triggered. After this patch, the backend will be able to fine script eligibility while still being backwards compatible with script status match preconditions. Note: This is an intermediate step towards removing the status match preconditions from the client and handle that entirely in the backend. R=szermatt@chromium.org Bug: 806868 Change-Id: Ia29bd0a7bc5a3f00b4b0f736dd28a93f6b422d92 Reviewed-on: https://chromium-review.googlesource.com/c/1352763 Commit-Queue: Stephane Zermatten <szermatt@chromium.org> Reviewed-by:Stephane Zermatten <szermatt@chromium.org> Cr-Commit-Position: refs/heads/master@{#612119}
Showing
Please register or sign in to comment