[Autofill local card migration] Send migration request only once risk data has been loaded
In this CL, we finish the basic two round pop-up window workflow. We add LoadRiskData at the same time the first prompt pops up when the legal docs are successfully fetched. The callback of the first prompt(ShowLocalCardMigrationPrompt) is OnUserAcceptedIntermediateMigrationDialog() which will trigger the second prompt. We will send the Migration request only when both the risk data is prepared and user accepted on the main prompt. Send Migration Request will included in the following CL. Use the intermediate bubble as the main prompt for now. Need to wait for Siyu's Main Prompt skeleton check-in to replace the main prompt call. TBR=rogerm@chromium.org Bug: 852904 Change-Id: Ic881a64b7da93316ff8a8a0e84bc0c20a39a030d Reviewed-on: https://chromium-review.googlesource.com/1149151 Commit-Queue: Sujie Zhu <sujiezhu@google.com> Reviewed-by:Moe Ahmadi <mahmadi@chromium.org> Reviewed-by:
Jared Saul <jsaul@google.com> Cr-Commit-Position: refs/heads/master@{#585579}
Showing
Please register or sign in to comment