|
Replace xmllite with libxml in autofill
This CL switches the XML parsing and writing code from using xmllite to libxml.
Other mentionable changes:
* UTF-8 encoding is dropped from the generated XML prolog. UTF8 is the default [1].
* Tests are changed to drop any expectations about the parsed data if the parser
signals an error. This conforms with how parsing is and should be used in production.
* Some const string references in arguments were changed to value passing, to make
use of the now allowed std::move.
[1] http://www.w3schools.com/xml/xml_syntax.asp
BUG= 556433
TBR=isherman@chromium.org
Committed: https://crrev.com/efef7d0416f2797495e381a20358314b33b34eb0
Cr-Commit-Position: refs/heads/master@{#361862}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+629 lines, -705 lines) |
Patch |
 |
M |
chrome/browser/autofill/autofill_server_browsertest.cc
|
View
|
1
2
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/autofill.gypi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/BUILD.gn
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/DEPS
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_download_manager.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_download_manager.cc
|
View
|
1
2
3
|
4 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_download_manager_unittest.cc
|
View
|
1
2
3
|
7 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_manager.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_manager.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_xml_parser.h
|
View
|
|
2 chunks |
+21 lines, -105 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_xml_parser.cc
|
View
|
1
2
3
|
1 chunk |
+86 lines, -123 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_xml_parser_unittest.cc
|
View
|
1
2
3
|
11 chunks |
+18 lines, -40 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/form_structure.h
|
View
|
1
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/form_structure.cc
|
View
|
1
2
3
|
12 chunks |
+151 lines, -111 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/form_structure_unittest.cc
|
View
|
1
|
30 chunks |
+312 lines, -289 lines |
0 comments
|
Download
|
Total messages: 19 (8 generated)
|