summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill_manager.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-11 17:22:43 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-11 17:22:43 +0000
commitfeb7cfba67c122cd39ae15e3bac5a2be5a2014e5 (patch)
tree9d050d10fa86b8251fe42424b565c833f2443708 /chrome/browser/autofill_manager.h
parenta01805c89445c44c954668c8441fa5d2f416fff5 (diff)
downloadchromium_src-feb7cfba67c122cd39ae15e3bac5a2be5a2014e5.zip
chromium_src-feb7cfba67c122cd39ae15e3bac5a2be5a2014e5.tar.gz
chromium_src-feb7cfba67c122cd39ae15e3bac5a2be5a2014e5.tar.bz2
This CL ensures we don't store empty values in the autofill form DB.
Also it applies a clean-up to remove any empty values previously stored in the DB. BUG=6111 TEST=Submit a form and leave some fields empty. Come back to that form, click on a field that was empty. No autofill popup should show up (or if one show up, it should not contains empty values). Review URL: http://codereview.chromium.org/21217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9570 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill_manager.h')
-rw-r--r--chrome/browser/autofill_manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/autofill_manager.h b/chrome/browser/autofill_manager.h
index 72a04d4..3ece658 100644
--- a/chrome/browser/autofill_manager.h
+++ b/chrome/browser/autofill_manager.h
@@ -42,6 +42,8 @@ class AutofillManager : public WebDataServiceConsumer {
virtual void OnWebDataServiceRequestDone(WebDataService::Handle h,
const WDTypedResult* result);
+ static void RegisterUserPrefs(PrefService* prefs);
+
private:
void StoreFormEntriesInWebDatabase(const AutofillForm& form);