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

Unified Diff: chromeos/cryptohome/cryptohome_parameters.h

Issue 2798023005: Force encryption migration if the device supports ARC. (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: 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

Powered by Google App Engine
This is Rietveld 408576698