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

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

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/cryptohome/homedir_methods.cc ('k') | chromeos/login/auth/user_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/auth/cryptohome_authenticator.cc
diff --git a/chromeos/login/auth/cryptohome_authenticator.cc b/chromeos/login/auth/cryptohome_authenticator.cc
index 2795b308543933b04e66c6624e493cc2b1cb13b0..9359f1a50cde713ec90af4e4049527412469168f 100644
--- a/chromeos/login/auth/cryptohome_authenticator.cc
+++ b/chromeos/login/auth/cryptohome_authenticator.cc
@@ -174,6 +174,8 @@ void DoMount(const base::WeakPtr<AuthAttemptState>& attempt,
kCryptohomeGAIAKeyLabel,
cryptohome::PRIV_DEFAULT));
}
+ mount.force_dircrypto_if_available =
+ attempt->user_context.IsForcingDircrypto();
cryptohome::HomedirMethods::GetInstance()->MountEx(
cryptohome::Identification(attempt->user_context.GetAccountId()),
« no previous file with comments | « chromeos/cryptohome/homedir_methods.cc ('k') | chromeos/login/auth/user_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698