syncer::GetUploadToGoogleState: Check data type's encryption status
Before this CL, GetUploadToGoogleState only checked whether Sync encryption (with a custom passphrase) was enabled at all. This wasn't accurate for data types that are never encrypted, e.g. DEVICE_INFO or AUTOFILL_WALLET_DATA. So this CL adds a per-data type encryption check. One problem caused by this was that credit card autofill was broken for users with a custom Sync passphrase. Note that credit card *upload* should still be disabled for those users, so this CL adds an explicit check for that. Bug: 852815 Change-Id: I0d0119596c81fe32d9085b495a2e591d149bdad8 Reviewed-on: https://chromium-review.googlesource.com/1102328Reviewed-by:Sebastien Seguin-Gagnon <sebsg@chromium.org> Commit-Queue: Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#567691}
Showing
Please register or sign in to comment