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

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

Issue 2838303003: cros: Remove user directory when encryption migration fails. (Closed)
Patch Set: 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 1e194de6f08c714fe2b552a6745c6c85c34d4d05..e65979e186137306ad2d0f9e966fd83a182e8eab 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
@@ -77,6 +77,9 @@ class EncryptionMigrationScreenHandler : public EncryptionMigrationScreenView,
const std::string& mount_hash);
void StartBlockingPowerSave();
void StopBlockingPowerSave();
+ // Removes cryptohome and shows the error screen after the removal finishes.
+ void RemoveCryptohome();
+ void OnRemoveCryptohome(bool success, cryptohome::MountError return_code);
// Creates authorization key for MountEx method using |user_context_|.
cryptohome::KeyDefinition GetAuthKey();

Powered by Google App Engine
This is Rietveld 408576698