|
[Autofill] Modified to remove const qualifiers from FormField and AutofillScanner implementation.
With current implemetation, most of the data-structures and function signature side Autofill FormField and AutofillScanner are kept const. Apparently any modification to FormFill becomes quite harder. At times, we endup using const_cast<>. Use of const_cast<> weakens the type system.
This patch removes const qualifiers from data-structures and function signatures from Autofill FormField and AutofillScanner implementation.
BUG=none
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+54 lines, -57 lines) |
Patch |
 |
M |
components/autofill/core/browser/address_field.h
|
View
|
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/address_field_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_scanner.h
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_scanner.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/credit_card_field.h
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/credit_card_field.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/credit_card_field_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/email_field.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/form_field.h
|
View
|
|
4 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/form_field.cc
|
View
|
|
6 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/name_field.cc
|
View
|
|
5 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/name_field_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/phone_field.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/phone_field.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/phone_field_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|