summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 01:04:24 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 01:04:24 +0000
commit1c40c9086851c33fdb07f90c22c0bd0be2cfdc0a (patch)
tree736efbcb753d666f04cb8404b1d270d7aca1335c
parent625e4de916762706ea51a009af58014927a2e25b (diff)
downloadchromium_src-1c40c9086851c33fdb07f90c22c0bd0be2cfdc0a.zip
chromium_src-1c40c9086851c33fdb07f90c22c0bd0be2cfdc0a.tar.gz
chromium_src-1c40c9086851c33fdb07f90c22c0bd0be2cfdc0a.tar.bz2
AutoFill: For now only import data from the uploaded form.
BUG=38104 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42206 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/autofill/autofill_manager.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/autofill/autofill_manager.cc b/chrome/browser/autofill/autofill_manager.cc
index 718b9a1..0f385de 100644
--- a/chrome/browser/autofill/autofill_manager.cc
+++ b/chrome/browser/autofill/autofill_manager.cc
@@ -299,7 +299,11 @@ void AutoFillManager::DeterminePossibleFieldTypes(
void AutoFillManager::HandleSubmit() {
// If there wasn't enough data to import then we don't want to send an upload
// to the server.
- if (!personal_data_->ImportFormData(form_structures_.get(), this))
+ // TODO(jhawkins): Import form data from |form_structures_|. That will
+ // require querying the FormManager for updated field values.
+ std::vector<FormStructure*> import;
+ import.push_back(upload_form_structure_.get());
+ if (!personal_data_->ImportFormData(import, this))
return;
UploadFormData();