|
Make payment manifest download/parse cross-platform
Reason for the refactor is an upcoming change to download/parse the
payment manifest on desktop in addition to Android.
1) This patch moves downloader and parser utility into cross-platform
directory //components/payments/content.
2) The cross-platform PaymentManifestParserHost has been separated from
its Android wrapper PaymentManifestParserAndroid.
3) GN build target renames:
a) Payments mojom targets have been renamed to include the string
"mojom" for clarity.
b) The main target of "//components/payments/content" has been
renamed to "content" for brevity.
c) The "//components/payments/content:payment_validators" target has
been renamed to "//components/payments/content:utils", because it
now contains manifest downloader and parser.
Manifest download is currently used only on Android after enabling the
chrome://flags/#android-payment-apps flag.
BUG= 683329
Review-Url: https://codereview.chromium.org/2759283002
Cr-Commit-Position: refs/heads/master@{#460141}
Committed: https://chromium.googlesource.com/chromium/src/+/bb7522e6433d4aa05dd81026c42559f9ca2011e6
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+187 lines, -1393 lines) |
Patch |
|
M |
chrome/android/BUILD.gn
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/BUILD.gn
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/utility/BUILD.gn
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
chrome/utility/DEPS
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/utility/chrome_content_utility_client.cc
|
View
|
1
2
3
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
components/BUILD.gn
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
components/payments/content/BUILD.gn
|
View
|
|
4 chunks |
+45 lines, -25 lines |
0 comments
|
Download
|
|
M |
components/payments/content/DEPS
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/payments/content/android/BUILD.gn
|
View
|
1
|
2 chunks |
+4 lines, -41 lines |
0 comments
|
Download
|
|
M |
components/payments/content/android/DEPS
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
D |
components/payments/content/android/payment_manifest_downloader.h
|
View
|
|
1 chunk |
+0 lines, -98 lines |
0 comments
|
Download
|
|
D |
components/payments/content/android/payment_manifest_downloader.cc
|
View
|
|
1 chunk |
+0 lines, -120 lines |
0 comments
|
Download
|
|
M |
components/payments/content/android/payment_manifest_downloader_android.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
D |
components/payments/content/android/payment_manifest_downloader_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -205 lines |
0 comments
|
Download
|
|
D |
components/payments/content/android/payment_manifest_parser.mojom
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
|
M |
components/payments/content/android/payment_manifest_parser_android.h
|
View
|
|
2 chunks |
+4 lines, -20 lines |
0 comments
|
Download
|
|
M |
components/payments/content/android/payment_manifest_parser_android.cc
|
View
|
|
5 chunks |
+16 lines, -73 lines |
0 comments
|
Download
|
|
D |
components/payments/content/android/utility/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -29 lines |
0 comments
|
Download
|
|
D |
components/payments/content/android/utility/DEPS
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
D |
components/payments/content/android/utility/fingerprint_parser.h
|
View
|
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
|
D |
components/payments/content/android/utility/fingerprint_parser.cc
|
View
|
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
|
D |
components/payments/content/android/utility/fingerprint_parser_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -90 lines |
0 comments
|
Download
|
|
D |
components/payments/content/android/utility/payment_manifest_parser.h
|
View
|
|
1 chunk |
+0 lines, -51 lines |
0 comments
|
Download
|
|
D |
components/payments/content/android/utility/payment_manifest_parser.cc
|
View
|
|
1 chunk |
+0 lines, -142 lines |
0 comments
|
Download
|
|
D |
components/payments/content/android/utility/payment_manifest_parser_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -185 lines |
0 comments
|
Download
|
|
A + |
components/payments/content/payment_manifest_downloader.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
components/payments/content/payment_manifest_downloader.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
components/payments/content/payment_manifest_downloader_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
components/payments/content/payment_manifest_parser.mojom
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
components/payments/content/payment_manifest_parser_host.h
|
View
|
1
2
3
|
3 chunks |
+24 lines, -30 lines |
0 comments
|
Download
|
|
A + |
components/payments/content/payment_manifest_parser_host.cc
|
View
|
1
2
|
1 chunk |
+38 lines, -129 lines |
0 comments
|
Download
|
|
A + |
components/payments/content/utility/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
components/payments/content/utility/DEPS
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
components/payments/content/utility/fingerprint_parser.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
components/payments/content/utility/fingerprint_parser.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
components/payments/content/utility/fingerprint_parser_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
components/payments/content/utility/payment_manifest_parser.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
A + |
components/payments/content/utility/payment_manifest_parser.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A + |
components/payments/content/utility/payment_manifest_parser_unittest.cc
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
components/payments_strings.grdp
|
View
|
1
2
3
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/common/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/test/BUILD.gn
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/payments/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 48 (31 generated)
|