|
|
Autofill refactor form_field.h/cc.
1. Moves FormField methods into proper public/protected/private visibility.
2. Eliminates redundant "Parse" methods.
3. Introduces |MatchType| bit field to simplify variant matching.
4. Consolidates |Match| method.
5. Renames |Add| and |GetFieldInfo| to |AddClassification| and |ClassifyField| respectively.
6. Move ECML logic into separate file.
BUG=none
TEST=Unit tests in autofill/*_field_unittest.cc.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86016
Total comments: 25
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+726 lines, -650 lines) |
Patch |
 |
M |
chrome/browser/autofill/address_field.h
|
View
|
1
|
2 chunks |
+24 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/address_field.cc
|
View
|
1
|
12 chunks |
+78 lines, -75 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/address_field_unittest.cc
|
View
|
1
|
20 chunks |
+20 lines, -42 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/autofill/autofill_ecml.h
|
View
|
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/autofill/autofill_ecml.cc
|
View
|
|
1 chunk |
+139 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/credit_card_field.h
|
View
|
1
|
2 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/credit_card_field.cc
|
View
|
|
9 chunks |
+36 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/credit_card_field_unittest.cc
|
View
|
|
8 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/email_field.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/email_field.cc
|
View
|
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/form_field.h
|
View
|
1
|
2 chunks |
+50 lines, -110 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/form_field.cc
|
View
|
1
|
6 chunks |
+56 lines, -218 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/form_field_unittest.cc
|
View
|
|
1 chunk |
+50 lines, -30 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/name_field.h
|
View
|
1
|
2 chunks |
+14 lines, -34 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/name_field.cc
|
View
|
1
2
|
6 chunks |
+85 lines, -27 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/name_field_unittest.cc
|
View
|
|
12 chunks |
+10 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/phone_field.h
|
View
|
1
|
1 chunk |
+15 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/phone_field.cc
|
View
|
|
7 chunks |
+34 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autofill/phone_field_unittest.cc
|
View
|
|
12 chunks |
+11 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|