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

Unified Diff: third_party/WebKit/public/platform/modules/payments/WebPaymentAppResponse.h

Issue 2705293010: PaymentApp: Implement respondWith() in PaymentRequestEvent. (blink side) (Closed)
Patch Set: PaymentApp: Implement respondWith() in PaymentRequestEvent. (blink 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/modules/payments/WebPaymentAppResponse.h
diff --git a/third_party/WebKit/public/platform/modules/payments/WebPaymentAppResponse.h b/third_party/WebKit/public/platform/modules/payments/WebPaymentAppResponse.h
new file mode 100644
index 0000000000000000000000000000000000000000..51ab72cdedafedcc7a441f71aab2b985f642259f
--- /dev/null
+++ b/third_party/WebKit/public/platform/modules/payments/WebPaymentAppResponse.h
@@ -0,0 +1,20 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebPaymentAppResponse_h
+#define WebPaymentAppResponse_h
+
+#include "public/platform/WebString.h"
+
+namespace blink {
+
+// https://w3c.github.io/webpayments-payment-apps-api/#idl-def-paymentappresponse
+struct WebPaymentAppResponse {
+ WebString methodName;
+ WebString stringifiedDetails;
+};
+
+} // namespace blink
+
+#endif // WebPaymentAppResponse_h

Powered by Google App Engine
This is Rietveld 408576698