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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h

Issue 2898223002: PaymentHandler: Rename PaymentAppRequest with PaymentRequestEventData. (Closed)
Patch Set: more places 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h b/third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h
new file mode 100644
index 0000000000000000000000000000000000000000..d142b2ff7d4b325592c0663804488719a5ff27f1
--- /dev/null
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestEventDataConversion.h
@@ -0,0 +1,27 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
please use gerrit instead 2017/06/02 17:05:04 Either mark this 2017 or tune --similarity paramet
zino 2017/06/02 17:23:48 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PaymentRequestEventDataConversion_h
+#define PaymentRequestEventDataConversion_h
+
+#include "modules/payments/PaymentRequestEventInit.h"
+#include "platform/wtf/Allocator.h"
+
+namespace blink {
+
+class ScriptState;
+struct WebPaymentRequestEventData;
+
+class MODULES_EXPORT PaymentRequestEventDataConversion {
+ STATIC_ONLY(PaymentRequestEventDataConversion);
+
+ public:
+ static PaymentRequestEventInit ToPaymentRequestEventInit(
+ ScriptState*,
+ const WebPaymentRequestEventData&);
+};
+
+} // namespace blink
+
+#endif // PaymentRequestEventDataConversion_h

Powered by Google App Engine
This is Rietveld 408576698