Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: components/payments/payment_request.mojom

Issue 2621683002: Re-enable MIR card issuer network in web payments. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [JavaPackage="org.chromium.payments.mojom"] 5 [JavaPackage="org.chromium.payments.mojom"]
6 module payments.mojom; 6 module payments.mojom;
7 7
8 // The shipping address that the browser process provides to the renderer 8 // The shipping address that the browser process provides to the renderer
9 // process. Built either by the browser or a payment app. 9 // process. Built either by the browser or a payment app.
10 struct PaymentAddress { 10 struct PaymentAddress {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 string? key; 128 string? key;
129 string? value; 129 string? value;
130 }; 130 };
131 131
132 enum BasicCardNetwork { 132 enum BasicCardNetwork {
133 AMEX, 133 AMEX,
134 DINERS, 134 DINERS,
135 DISCOVER, 135 DISCOVER,
136 JCB, 136 JCB,
137 MASTERCARD, 137 MASTERCARD,
138 MIR,
138 UNIONPAY, 139 UNIONPAY,
139 VISA 140 VISA
140 }; 141 };
141 142
142 enum BasicCardType { 143 enum BasicCardType {
143 CREDIT, 144 CREDIT,
144 DEBIT, 145 DEBIT,
145 PREPAID 146 PREPAID
146 }; 147 };
147 148
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 Init(PaymentRequestClient client, 214 Init(PaymentRequestClient client,
214 array<PaymentMethodData> methodData, 215 array<PaymentMethodData> methodData,
215 PaymentDetails details, 216 PaymentDetails details,
216 PaymentOptions options); 217 PaymentOptions options);
217 Show(); 218 Show();
218 UpdateWith(PaymentDetails details); 219 UpdateWith(PaymentDetails details);
219 Abort(); 220 Abort();
220 Complete(PaymentComplete result); 221 Complete(PaymentComplete result);
221 CanMakePayment(); 222 CanMakePayment();
222 }; 223 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698