diff options
author | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-27 01:47:40 +0000 |
---|---|---|
committer | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-27 01:47:40 +0000 |
commit | 2033dcf3938e200d48fc24af83da6e7c1af50712 (patch) | |
tree | 599f949d3f64daab02a0703f08dac7da2691adae /chrome/browser/autofill/autofill_scanner.cc | |
parent | 36cf510832b0ebc3d911d74f844b156dfb6315ff (diff) | |
download | chromium_src-2033dcf3938e200d48fc24af83da6e7c1af50712.zip chromium_src-2033dcf3938e200d48fc24af83da6e7c1af50712.tar.gz chromium_src-2033dcf3938e200d48fc24af83da6e7c1af50712.tar.bz2 |
Heuristics for grabber-continental.com.out (multi-pass)
Converts the single-pass strategy of the Autofill heuristics to a multi-pass approach based on the specificity of relative terms. "Email address" over "address" for example.
BUG=76299
TEST=FormStructureBrowserTest.DataDrivenHeuristics with "grabber" test files.
Review URL: http://codereview.chromium.org/6962031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86947 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_scanner.cc')
-rw-r--r-- | chrome/browser/autofill/autofill_scanner.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/autofill/autofill_scanner.cc b/chrome/browser/autofill/autofill_scanner.cc index d0302c8..1fd8a7e 100644 --- a/chrome/browser/autofill/autofill_scanner.cc +++ b/chrome/browser/autofill/autofill_scanner.cc @@ -7,7 +7,8 @@ #include "base/logging.h" #include "chrome/browser/autofill/autofill_field.h" -AutofillScanner::AutofillScanner(const std::vector<AutofillField*>& fields) +AutofillScanner::AutofillScanner( + const std::vector<const AutofillField*>& fields) : cursor_(fields.begin()), end_(fields.end()) { } |