Chromium Code Reviews| Index: third_party/WebKit/Source/modules/payments/PaymentAppRequestConversion.h |
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentAppRequestConversion.h b/third_party/WebKit/Source/modules/payments/PaymentAppRequestConversion.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..84f3c573814ab0c694b3a345f9d51649d8e5ae2a |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/modules/payments/PaymentAppRequestConversion.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
|
please use gerrit instead
2017/01/30 15:03:32
2017 (looks like a new file)
zino
2017/01/31 09:16:07
IMHO, this change is just renaming, not adding a n
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef PaymentAppRequestConversion_h |
| +#define PaymentAppRequestConversion_h |
| + |
| +#include "modules/payments/PaymentAppRequest.h" |
| +#include "wtf/Allocator.h" |
| + |
| +namespace blink { |
| + |
| +class ScriptState; |
| +struct WebPaymentAppRequest; |
| + |
| +class MODULES_EXPORT PaymentAppRequestConversion { |
| + STATIC_ONLY(PaymentAppRequestConversion); |
| + |
| + public: |
| + static PaymentAppRequest toPaymentAppRequest(ScriptState*, |
| + const WebPaymentAppRequest&); |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // PaymentAppRequestConversion_h |