Index: third_party/WebKit/public/platform/modules/payments/payment_request.mojom |
diff --git a/third_party/WebKit/public/platform/modules/payments/payment_request.mojom b/third_party/WebKit/public/platform/modules/payments/payment_request.mojom |
index c21a38a2853051e148b46c91cd6b9e9fc0367516..0f07092c69b35c8d7ce7efac3d8f0ec7b9d9d707 100644 |
--- a/third_party/WebKit/public/platform/modules/payments/payment_request.mojom |
+++ b/third_party/WebKit/public/platform/modules/payments/payment_request.mojom |
@@ -109,6 +109,12 @@ struct PaymentMethodData { |
string stringified_data; |
}; |
+enum PaymentComplete { |
+ SUCCESS, |
+ FAIL, |
+ UNKNOWN |
+}; |
+ |
interface PaymentRequest { |
SetClient(PaymentRequestClient client); |
Show(array<PaymentMethodData> methodData, |
@@ -116,5 +122,5 @@ interface PaymentRequest { |
PaymentOptions options); |
UpdateWith(PaymentDetails details); |
Abort(); |
- Complete(bool success); |
+ Complete(PaymentComplete result); |
}; |