Index: chromeos/cryptohome/cryptohome_parameters.h |
diff --git a/chromeos/cryptohome/cryptohome_parameters.h b/chromeos/cryptohome/cryptohome_parameters.h |
index dd96100832ce6926388b86aba3e8b6d7b60636a2..7572646e0727d7b3c4bf338ea3826b96cb54a770 100644 |
--- a/chromeos/cryptohome/cryptohome_parameters.h |
+++ b/chromeos/cryptohome/cryptohome_parameters.h |
@@ -165,6 +165,11 @@ class CHROMEOS_EXPORT MountParameters { |
// If not empty, home dir will be created with these keys if it exist. |
std::vector<KeyDefinition> create_keys; |
+ |
+ // If |true|, and cryptohomed supports the new "dircrypto" encryption, |
+ // forces to use the new encryption. That is, makes it an error to mount |
+ // an existing home directory encrypted in the old way (ecryptfs). |
+ bool force_dircrypto_if_available; |
}; |
// This function returns true if cryptohome of |account_id| is migrated to |