Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // 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.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef PaymentRequestEventDataConversion_h | |
| 6 #define PaymentRequestEventDataConversion_h | |
| 7 | |
| 8 #include "modules/payments/PaymentRequestEventInit.h" | |
| 9 #include "platform/wtf/Allocator.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 class ScriptState; | |
| 14 struct WebPaymentRequestEventData; | |
| 15 | |
| 16 class MODULES_EXPORT PaymentRequestEventDataConversion { | |
| 17 STATIC_ONLY(PaymentRequestEventDataConversion); | |
| 18 | |
| 19 public: | |
| 20 static PaymentRequestEventInit ToPaymentRequestEventInit( | |
| 21 ScriptState*, | |
| 22 const WebPaymentRequestEventData&); | |
| 23 }; | |
| 24 | |
| 25 } // namespace blink | |
| 26 | |
| 27 #endif // PaymentRequestEventDataConversion_h | |
| OLD | NEW |