Index: components/payments/payment_request.mojom |
diff --git a/components/payments/payment_request.mojom b/components/payments/payment_request.mojom |
index d8ad5833f487d3ccea1824dcca240b80d3af69de..81703f5f6a42380854c707af9337fcfa0426f2f5 100644 |
--- a/components/payments/payment_request.mojom |
+++ b/components/payments/payment_request.mojom |
@@ -83,6 +83,13 @@ enum CanMakePaymentQueryResult { |
QUERY_QUOTA_EXCEEDED |
}; |
+struct NativeAndroidPaymentAppManifestSection { |
+ string package_name; |
+ // Optional version number. 0 if not defined. |
+ int64 version; |
+ array<string>? sha256_cert_fingerprints; |
+}; |
+ |
interface PaymentRequestClient { |
OnShippingAddressChange(PaymentAddress address); |
OnShippingOptionChange(string shipping_option_id); |
@@ -91,6 +98,8 @@ interface PaymentRequestClient { |
OnComplete(); |
OnAbort(bool aborted_successfully); |
OnCanMakePayment(CanMakePaymentQueryResult result); |
+ ParsePaymentManifest(string content) |
+ => (array<NativeAndroidPaymentAppManifestSection>? manifest); |
}; |
struct PaymentItem { |