DescriptionImplement a basic UI flow for cryptohome encryption migration.
This CL implements the basic flow: On clicking "Upgrade", the handler
calls cryptohome API to start migration, updates the progress bar on
the UI, and tell the user that the migration is finished.
This includes following changes:
- Pass user_context from the authenticator to screen handler to use it for cryptohome migration API.
- Add <encryption-migration> Polymer element which has the actual migration UI.
- Modify FakeCryptohomeClient to send progress callbacks while migrating.
Note that all strings are just place holders for now (UX team is working on the strings).
They are not populated as i18n-content not to be translated.
BUG=706017
TEST=on Linux, run chrome (for ChromeOS) with --test-encryption-migration-ui --login-manager and sign in to an existing user should show a UI. Pressing "Upgrade" shows progress bar and a screen which says it finished successfully.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2784273003
Cr-Commit-Position: refs/heads/master@{#461029}
Committed: https://chromium.googlesource.com/chromium/src/+/2c22b15a9fcf87047dbd6655037f09eb7232cc85
Patch Set 1 #Patch Set 2 : . #
Total comments: 10
Patch Set 3 : Address review comments. #Messages
Total messages: 16 (11 generated)
|