Implement correct rules for showing wallet banners in requestAutocomplete().
commit1e518f280bf0391e17c4fe729d9029aba74dcb97
authordbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 5 Jun 2013 18:35:24 +0000 (5 18:35 +0000)
committerdbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 5 Jun 2013 18:35:24 +0000 (5 18:35 +0000)
tree613248f9ab9c925de68503c9417935320c71c4ae
parent7d1f404bfb7e1c3893a57d6e83324dda3c1a8e56
Implement correct rules for showing wallet banners in requestAutocomplete().

Remove the "Sign in and save details" notification and tweaks the behavior of
wallet promo banners to only show if a user hasn't submitted with wallet
(vs. ever having submitted at all).

R=estade@chromium.org
BUG=245542
TEST=unit_tests, manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204303 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/autofill/autofill_dialog_controller.h
chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
chrome/browser/ui/autofill/autofill_dialog_types.cc
chrome/browser/ui/autofill/autofill_dialog_types.h
chrome/browser/ui/autofill/mock_autofill_dialog_controller.cc
chrome/browser/ui/autofill/mock_autofill_dialog_controller.h
chrome/common/pref_names.cc
chrome/common/pref_names.h