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

Side by Side Diff: components/payments/content/payment_app.mojom

Issue 2718013004: PaymentApp: Implement respondWith() in PaymentRequestEvent. (content side) (Closed)
Patch Set: PaymentApp: Implement respondWith() in PaymentRequestEvent. (content side) Created 3 years, 9 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 module payments.mojom; 5 module payments.mojom;
6 6
7 import "components/payments/content/payment_request.mojom"; 7 import "components/payments/content/payment_request.mojom";
8 import "url/mojo/url.mojom"; 8 import "url/mojo/url.mojom";
9 9
10 enum PaymentAppManifestError { 10 enum PaymentAppManifestError {
(...skipping 24 matching lines...) Expand all
35 => (PaymentAppManifest payment_app_manifest, PaymentAppManifestError error ); 35 => (PaymentAppManifest payment_app_manifest, PaymentAppManifestError error );
36 }; 36 };
37 37
38 struct PaymentAppRequest { 38 struct PaymentAppRequest {
39 url.mojom.Url origin; 39 url.mojom.Url origin;
40 array<PaymentMethodData> methodData; 40 array<PaymentMethodData> methodData;
41 PaymentItem total; 41 PaymentItem total;
42 array<PaymentDetailsModifier> modifiers; 42 array<PaymentDetailsModifier> modifiers;
43 string optionId; 43 string optionId;
44 }; 44 };
45
46 struct PaymentAppResponse {
47 string method_name;
Tom Sepez 2017/03/07 17:22:39 What are the restrictions on the values of these t
zino 2017/03/27 15:27:04 As I know, there are no restrictions in spec side.
48 string stringified_details;
49 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698