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

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

Issue 2578323006: Parsing new Android Pay Payment Request API member: minGooglePlayServicesVersion (Closed)
Patch Set: review comments Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/payments/AndroidPayMethodData.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 // Android Pay specific method data is parsed in the renderer. 122 // Android Pay specific method data is parsed in the renderer.
123 // https://developers.google.com/web/fundamentals/getting-started/primers/paym ent-request/android-pay 123 // https://developers.google.com/web/fundamentals/getting-started/primers/paym ent-request/android-pay
124 // TODO(rouslan): Stop parsing Android Pay data. http://crbug.com/620173 124 // TODO(rouslan): Stop parsing Android Pay data. http://crbug.com/620173
125 AndroidPayEnvironment environment; 125 AndroidPayEnvironment environment;
126 string? merchant_name; 126 string? merchant_name;
127 string? merchant_id; 127 string? merchant_id;
128 array<AndroidPayCardNetwork> allowed_card_networks; 128 array<AndroidPayCardNetwork> allowed_card_networks;
129 AndroidPayTokenization tokenization_type; 129 AndroidPayTokenization tokenization_type;
130 array<AndroidPayTokenizationParameter> parameters; 130 array<AndroidPayTokenizationParameter> parameters;
131 // Value of 0 means the merchant did not specify or it was an invalid value.
132 int32 min_google_play_services_version;
131 }; 133 };
132 134
133 struct PaymentDetailsModifier { 135 struct PaymentDetailsModifier {
134 PaymentItem? total; 136 PaymentItem? total;
135 array<PaymentItem> additional_display_items; 137 array<PaymentItem> additional_display_items;
136 PaymentMethodData method_data; 138 PaymentMethodData method_data;
137 }; 139 };
138 140
139 struct PaymentDetails { 141 struct PaymentDetails {
140 PaymentItem total; 142 PaymentItem total;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 Init(PaymentRequestClient client, 193 Init(PaymentRequestClient client,
192 array<PaymentMethodData> methodData, 194 array<PaymentMethodData> methodData,
193 PaymentDetails details, 195 PaymentDetails details,
194 PaymentOptions options); 196 PaymentOptions options);
195 Show(); 197 Show();
196 UpdateWith(PaymentDetails details); 198 UpdateWith(PaymentDetails details);
197 Abort(); 199 Abort();
198 Complete(PaymentComplete result); 200 Complete(PaymentComplete result);
199 CanMakePayment(); 201 CanMakePayment();
200 }; 202 };
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/payments/AndroidPayMethodData.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698