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

Unified Diff: chromeos/cryptohome/cryptohome_parameters.h

Issue 2798023005: Force encryption migration if the device supports ARC. (Closed)
Patch Set: Bind |auth_mode| 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/chromeos_switches.cc ('k') | chromeos/cryptohome/homedir_methods.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/cryptohome/cryptohome_parameters.h
diff --git a/chromeos/cryptohome/cryptohome_parameters.h b/chromeos/cryptohome/cryptohome_parameters.h
index dd96100832ce6926388b86aba3e8b6d7b60636a2..7e60fc60c7968226b3693ea1be01a992d668ba4e 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 = false;
};
// This function returns true if cryptohome of |account_id| is migrated to
« no previous file with comments | « chromeos/chromeos_switches.cc ('k') | chromeos/cryptohome/homedir_methods.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698