diff options
author | dantasse@chromium.org <dantasse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 21:14:53 +0000 |
---|---|---|
committer | dantasse@chromium.org <dantasse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 21:14:53 +0000 |
commit | 71db65535acb49f0cee246cd1a4cd4e0225107b7 (patch) | |
tree | 7d4dfd979480acd069cb8ae7d652866235921ddb /net | |
parent | 32da2a0bb25a12aa9eb425fdfb03ca82b1d6fd32 (diff) | |
download | chromium_src-71db65535acb49f0cee246cd1a4cd4e0225107b7.zip chromium_src-71db65535acb49f0cee246cd1a4cd4e0225107b7.tar.gz chromium_src-71db65535acb49f0cee246cd1a4cd4e0225107b7.tar.bz2 |
Disallow syncing 0 datatypes.
If you try to set up or customize sync, then click "choose data types to sync" and uncheck all of them, then click OK, this will give you an error message ("you must select at least one data type to sync.") and will not start syncing. This is what we wanted to do with the old dialog box; the only reason we couldn't is that we didn't have time to get a translated string in.
Note that there's enough room on the error message for two lines' worth of text if necessary.
Screenshot in the corresponding bug (47995).
BUG=47995
TEST=try to start syncing, click "choose data types to sync", and uncheck all of them, and click OK. It should give you an error as described above.
Review URL: http://codereview.chromium.org/2827040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions