|
|
[Password Generation] Send id attribute to server for HTML based form classifier
name or id attribute is already sent to the server (see |name| field in AutofillUploadContents). This CL makes sure that we send both attributes. This data will be used by HTML based form classifier.
The data will be sent only if AutofillFieldMetadata is enabled (i.e. only for dev and beta).
This CL also removes |css_classes| parameter in FillUploadField, because it is needed only in one test (FormStructureTest.EncodeUploadRequest_WithCssClassesAndIds), but require |nullptr| in bunch of other cases. The parameter was added in this CL ( https://codereview.chromium.org/2073093002/).
Review-Url: https://codereview.chromium.org/2640783002
Cr-Commit-Position: refs/heads/master@{#445042}
Committed: https://chromium.googlesource.com/chromium/src/+/239ed9a242283d9af2e37f609d8e13086ddac1e0
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+192 lines, -63 lines) |
Patch |
 |
M |
chrome/browser/autofill/autofill_server_browsertest.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/autofill/form_autofill_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/common/autofill_types.mojom
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/common/autofill_types_struct_traits.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/common/autofill_types_struct_traits.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/common/autofill_types_struct_traits_unittest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/form_autofill_util.cc
|
View
|
1
2
3
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_test_utils.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_test_utils.cc
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/form_structure.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/form_structure_unittest.cc
|
View
|
|
22 chunks |
+59 lines, -46 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/proto/server.proto
|
View
|
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/common/form_field_data.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/common/form_field_data.cc
|
View
|
1
|
7 chunks |
+26 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/common/form_field_data_unittest.cc
|
View
|
|
5 chunks |
+42 lines, -0 lines |
0 comments
|
Download
|
Total messages: 29 (19 generated)
|