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

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

Issue 2839813005: PaymentHandler: Fix a typo (camelCase to hacker_case). (Closed)
Patch Set: PaymentHandler: Fix a typo (camelCase to hacker_case). Created 3 years, 7 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/mojom/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
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 SetPaymentInstrument(string instrument_key, PaymentInstrument instrument) 53 SetPaymentInstrument(string instrument_key, PaymentInstrument instrument)
54 => (PaymentHandlerStatus status); 54 => (PaymentHandlerStatus status);
55 HasPaymentInstrument(string instrument_key) 55 HasPaymentInstrument(string instrument_key)
56 => (PaymentHandlerStatus status); 56 => (PaymentHandlerStatus status);
57 GetPaymentInstrument(string instrument_key) 57 GetPaymentInstrument(string instrument_key)
58 => (PaymentInstrument instrument, PaymentHandlerStatus status); 58 => (PaymentInstrument instrument, PaymentHandlerStatus status);
59 }; 59 };
60 60
61 struct PaymentAppRequest { 61 struct PaymentAppRequest {
62 url.mojom.Url origin; 62 url.mojom.Url origin;
63 array<PaymentMethodData> methodData; 63 array<PaymentMethodData> method_data;
64 PaymentItem total; 64 PaymentItem total;
65 array<PaymentDetailsModifier> modifiers; 65 array<PaymentDetailsModifier> modifiers;
66 string optionId; 66 string option_id;
67 }; 67 };
68 68
69 struct PaymentAppResponse { 69 struct PaymentAppResponse {
70 string method_name; 70 string method_name;
71 string stringified_details; 71 string stringified_details;
72 }; 72 };
73 73
74 // This interface is provided to pass a payment app response from payment 74 // This interface is provided to pass a payment app response from payment
75 // request event in renderer side to browser side by calling respondWith(). 75 // request event in renderer side to browser side by calling respondWith().
76 interface PaymentAppResponseCallback { 76 interface PaymentAppResponseCallback {
77 OnPaymentAppResponse(PaymentAppResponse response, 77 OnPaymentAppResponse(PaymentAppResponse response,
78 mojo.common.mojom.Time dispatch_event_time); 78 mojo.common.mojom.Time dispatch_event_time);
79 }; 79 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698