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

Unified Diff: chromeos/login/auth/cryptohome_authenticator.h

Issue 2801873007: Resume encryption migration immediately if the previous migration is incomplete. (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
« no previous file with comments | « chromeos/login/auth/auth_status_consumer.cc ('k') | chromeos/login/auth/cryptohome_authenticator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/auth/cryptohome_authenticator.h
diff --git a/chromeos/login/auth/cryptohome_authenticator.h b/chromeos/login/auth/cryptohome_authenticator.h
index a1286e09cb71ccd77b1f789f3df7f3643f38fe56..3743fdee07814acf55334696512535961c35bef5 100644
--- a/chromeos/login/auth/cryptohome_authenticator.h
+++ b/chromeos/login/auth/cryptohome_authenticator.h
@@ -92,6 +92,9 @@ class CHROMEOS_EXPORT CryptohomeAuthenticator
// cryptohome after a login failure.
FAILED_OLD_ENCRYPTION = 24, // Login failed, cryptohome is encrypted
// in old format.
+ FAILED_PREVIOUS_MIGRATION_INCOMPLETE = 25, // Login failed, cryptohome is
+ // partially encrypted in old
+ // format.
};
CryptohomeAuthenticator(scoped_refptr<base::TaskRunner> task_runner,
@@ -165,7 +168,7 @@ class CHROMEOS_EXPORT CryptohomeAuthenticator
void OnOffTheRecordAuthSuccess();
void OnPasswordChangeDetected();
- void OnOldEncryptionDetected();
+ void OnOldEncryptionDetected(bool has_incomplete_migration);
protected:
~CryptohomeAuthenticator() override;
« no previous file with comments | « chromeos/login/auth/auth_status_consumer.cc ('k') | chromeos/login/auth/cryptohome_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698