[Settings] UserEvents depends on history and passphrase
This is a reland of: https://chromium-review.googlesource.com/1170202 which was reverted because of missing svg icon. The user events UI toggle should be grayed out and turned off when there is a passphrase or when history sync is disabled. Note that this is purely a UI change: the internal sync datatype is not really turned off in that case, and we assume that the Sync engines will correctly stop syncing user events in these cases, even if the preference is still ON. Bug: 865522, 865537 Change-Id: I745f048b3ca301231f57c04b82d0d9d82a6f3b90 Reviewed-on: https://chromium-review.googlesource.com/1170825Reviewed-by:Scott Chen <scottchen@chromium.org> Commit-Queue: David Roger <droger@chromium.org> Cr-Commit-Position: refs/heads/master@{#582433}
Showing
Please register or sign in to comment