Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5519)

Unified Diff: chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h

Issue 2798023005: Force encryption migration if the device supports ARC. (Closed)
Patch Set: Bind |auth_mode| Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698