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

Unified Diff: chromeos/cryptohome/homedir_methods.cc

Issue 2740883002: cryptohome: Add the conversion for a new error code. (Closed)
Patch Set: Roll DEPS Created 3 years, 9 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 | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/cryptohome/homedir_methods.cc
diff --git a/chromeos/cryptohome/homedir_methods.cc b/chromeos/cryptohome/homedir_methods.cc
index efa0cec32334f8cf1bb56daa134d154011c9b716..617c17afd9cf2c864daa36fe585939009aa64e42 100644
--- a/chromeos/cryptohome/homedir_methods.cc
+++ b/chromeos/cryptohome/homedir_methods.cc
@@ -161,6 +161,10 @@ MountError MapError(CryptohomeErrorCode code) {
case CRYPTOHOME_ERROR_KEY_LABEL_EXISTS:
case CRYPTOHOME_ERROR_UPDATE_SIGNATURE_INVALID:
return MOUNT_ERROR_KEY_FAILURE;
+ case CRYPTOHOME_ERROR_MOUNT_OLD_ENCRYPTION:
+ return MOUNT_ERROR_OLD_ENCRYPTION;
+ case CRYPTOHOME_ERROR_MOUNT_PREVIOUS_MIGRATION_INCOMPLETE:
+ return MOUNT_ERROR_PREVIOUS_MIGRATION_INCOMPLETE;
default:
NOTREACHED();
return MOUNT_ERROR_FATAL;
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698