Disable checkboxes in the advanced sync settings overlay whose type is force-enabled.
commitda3248829b975a5ed1d0b34b8f19ba6b27e41a99
authortreib <treib@chromium.org>
Mon, 25 Aug 2014 11:08:55 +0000 (25 04:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 25 Aug 2014 11:10:11 +0000 (25 11:10 +0000)
tree6d579a40a673762c58714129e7d9a6656b8edc9c
parent5d93ad15ef67612f4dc8c34e97166bd0708a166a
Disable checkboxes in the advanced sync settings overlay whose type is force-enabled.

https://codereview.chromium.org/428143002 added a way to enable sync types programmatically, i.e. without user choice. This should be reflected in the sync settings dialog.

BUG=403326

Review URL: https://codereview.chromium.org/494973003

Cr-Commit-Position: refs/heads/master@{#291657}
chrome/browser/resources/sync_setup_overlay.js
chrome/browser/sync/profile_sync_service.cc
chrome/browser/sync/profile_sync_service.h
chrome/browser/ui/webui/sync_setup_handler.cc