Index: chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h |
diff --git a/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h |
index 6949c0b935540b1b21ffa0f48d420231fb4969d6..5be5edeff419041560a5d141439b4b4e591beaf6 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h |
+++ b/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h |
@@ -25,6 +25,7 @@ class EncryptionMigrationScreenHandler : public EncryptionMigrationScreenView, |
void Hide() override; |
void SetDelegate(Delegate* delegate) override; |
void SetUserContext(const UserContext& user_context) override; |
+ void SetContinueLoginCallback(ContinueLoginCallback callback) override; |
// BaseScreenHandler implementation: |
void DeclareLocalizedValues( |
@@ -46,6 +47,7 @@ class EncryptionMigrationScreenHandler : public EncryptionMigrationScreenView, |
// Handlers for JS API callbacks. |
void HandleStartMigration(); |
+ void HandleSkipMigration(); |
void HandleRequestRestart(); |
// Updates UI state. |
@@ -70,6 +72,9 @@ class EncryptionMigrationScreenHandler : public EncryptionMigrationScreenView, |
// cryptohome. |
UserContext user_context_; |
+ // The callback which is used to log in to the session from the migration UI. |
+ ContinueLoginCallback continue_login_callback_; |
+ |
base::WeakPtrFactory<EncryptionMigrationScreenHandler> weak_ptr_factory_; |
DISALLOW_COPY_AND_ASSIGN(EncryptionMigrationScreenHandler); |