| 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 module payments.mojom; | 5 module payments.mojom; |
| 6 | 6 |
| 7 import "components/payments/content/payment_request.mojom"; | 7 import "components/payments/mojom/payment_request.mojom"; |
| 8 import "mojo/common/time.mojom"; | 8 import "mojo/common/time.mojom"; |
| 9 import "url/mojo/url.mojom"; | 9 import "url/mojo/url.mojom"; |
| 10 | 10 |
| 11 enum PaymentAppManifestError { | 11 enum PaymentAppManifestError { |
| 12 NONE, | 12 NONE, |
| 13 NOT_IMPLEMENTED, | 13 NOT_IMPLEMENTED, |
| 14 NO_ACTIVE_WORKER, | 14 NO_ACTIVE_WORKER, |
| 15 MANIFEST_STORAGE_OPERATION_FAILED, | 15 MANIFEST_STORAGE_OPERATION_FAILED, |
| 16 }; | 16 }; |
| 17 | 17 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 48 string method_name; | 48 string method_name; |
| 49 string stringified_details; | 49 string stringified_details; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 // This interface is provided to pass a payment app response from payment | 52 // This interface is provided to pass a payment app response from payment |
| 53 // request event in renderer side to browser side by calling respondWith(). | 53 // request event in renderer side to browser side by calling respondWith(). |
| 54 interface PaymentAppResponseCallback { | 54 interface PaymentAppResponseCallback { |
| 55 OnPaymentAppResponse(PaymentAppResponse response, | 55 OnPaymentAppResponse(PaymentAppResponse response, |
| 56 mojo.common.mojom.Time dispatch_event_time); | 56 mojo.common.mojom.Time dispatch_event_time); |
| 57 }; | 57 }; |
| OLD | NEW |