| OLD | NEW |
| 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 blink.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 { |
| 11 // ISO 3166 country code. Two upper case ASCII letters. | 11 // ISO 3166 country code. Two upper case ASCII letters. |
| 12 string country; | 12 string country; |
| 13 | 13 |
| 14 array<string> address_line; | 14 array<string> address_line; |
| 15 string region; | 15 string region; |
| 16 string city; | 16 string city; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 interface PaymentRequest { | 150 interface PaymentRequest { |
| 151 Init(PaymentRequestClient client, | 151 Init(PaymentRequestClient client, |
| 152 array<PaymentMethodData> methodData, | 152 array<PaymentMethodData> methodData, |
| 153 PaymentDetails details, | 153 PaymentDetails details, |
| 154 PaymentOptions options); | 154 PaymentOptions options); |
| 155 Show(); | 155 Show(); |
| 156 UpdateWith(PaymentDetails details); | 156 UpdateWith(PaymentDetails details); |
| 157 Abort(); | 157 Abort(); |
| 158 Complete(PaymentComplete result); | 158 Complete(PaymentComplete result); |
| 159 }; | 159 }; |
| OLD | NEW |