Do not suggest invalid email address in interactive autocomplete
commit3f390e9b889efc0617f849a9c00c4848d523d4f1
authorrouslan@chromium.org <rouslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 25 Jun 2013 02:50:47 +0000 (25 02:50 +0000)
committerrouslan@chromium.org <rouslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 25 Jun 2013 02:50:47 +0000 (25 02:50 +0000)
treef6e6560bfb0e9a6ce60d1106f1b820a544cbcb42
parentc51694f196f1c777e36090804f161f7515e64761
Do not suggest invalid email address in interactive autocomplete

If a user saved an invalid email in chrome://settings/autofillEditAddress, then
interactive autocomplete should not suggest the invalid email as one of the
choices.

TEST=AutofillDialogControllerTest.ValidSavedEmail
TEST=AutofillDialogControllerTest.InvalidSavedEmail
BUG=247205

Review URL: https://chromiumcodereview.appspot.com/17570012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208360 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc