FakeCryptohomeClient: Simulate ecryptfs user home only when configured
FakeCryptohomeClient is changed to simluate an ecryptfs user home only if this has been configured by FakeCryptohomeClient::SetEcryptfsUserHome, which supersedes set_needs_dircrypto_migration. Configuring a user home to be ecryptfs will have two effects: NeedsDircryptoMigration will return true for the user home and MountEx will fail if forcing dircrypto. Until this CL, FakeCryptohomeClient was pretending that all mounts are still on ecryptfs, which was masked by the migration being disallowed in ExistingUserController (due to assumed enterprise user policy in the browsertests). Bug: 832127 Change-Id: I0cd95c55d1c0fcb8a6bd862f7e9eeffcde9ecd46 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2515405 Commit-Queue: Pavol Marko <pmarko@chromium.org> Reviewed-by:Ryo Hashimoto <hashimoto@chromium.org> Reviewed-by:
Roman Sorokin [CET] <rsorokin@chromium.org> Cr-Commit-Position: refs/heads/master@{#824153}
Showing
Please register or sign in to comment