[Autofill local card migration settings page] Add migration experimental flag...
[Autofill local card migration settings page] Add migration experimental flag api for settings page(#1). This is the start CL of triggering migration from settings page. We modify the original Boolean experimental flag to multi-state experimental flag in order to use one flag to control the normal submit form and settings page separately. The following CLs will be: 1. We will use loadTimeData to get the experimental flag in the JS code. We will use this flag to protect and isolate the new changes. 2. Add new attribute of CreditCardEntry to check the migration requirements. 3. Display the migration button to the user when requirements meet. 4. Trigger migration when user click on the button with new API call. Please refer to the design doc for more details: https://docs.google.com/document/d/1J7YyBeKZZaBhjAHnMEezvuBa5x1pk_XCh_yZvV_HMmc/edit#heading=h.1wm3blr98d8i Bug: 852904 Cq-Include-Trybots: luci.chromium.try:closure_compilation Change-Id: I5fbf0acc32853b5d2d86cfcd24f109f04341dddd Reviewed-on: https://chromium-review.googlesource.com/1163067Reviewed-by:Jared Saul <jsaul@google.com> Reviewed-by:
Sebastien Seguin-Gagnon <sebsg@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Fabio Tirelo <ftirelo@chromium.org> Commit-Queue: Sujie Zhu <sujiezhu@google.com> Cr-Commit-Position: refs/heads/master@{#582183}
Showing
Please register or sign in to comment