| Index: chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc
|
| index e5779d378ec5231a9c3b1cd4149b61c702bffcc2..730276710f4a99c440af5c371687a4f4e74855fb 100644
|
| --- a/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc
|
| @@ -58,6 +58,13 @@ void EncryptionMigrationScreenHandler::SetUserContext(
|
| user_context_ = user_context;
|
| }
|
|
|
| +void EncryptionMigrationScreenHandler::SetShouldResume(bool should_resume) {
|
| + if (current_ui_state_ == INITIAL && should_resume) {
|
| + // TODO(fukino): Wait until the battery gets enough level.
|
| + StartMigration();
|
| + }
|
| +}
|
| +
|
| void EncryptionMigrationScreenHandler::SetContinueLoginCallback(
|
| ContinueLoginCallback callback) {
|
| continue_login_callback_ = std::move(callback);
|
| @@ -86,6 +93,7 @@ void EncryptionMigrationScreenHandler::RegisterMessages() {
|
| }
|
|
|
| void EncryptionMigrationScreenHandler::HandleStartMigration() {
|
| + // TODO(fukino): Wait until the battery gets enough level.
|
| StartMigration();
|
| }
|
|
|
|
|