OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "modules/payments/PaymentRequest.h" |
| 6 |
| 7 namespace blink { |
| 8 |
| 9 // static |
| 10 RawPtr<PaymentRequest> PaymentRequest::create(const Vector<String>& supportedMet
hods) |
| 11 { |
| 12 return new PaymentRequest(supportedMethods); |
| 13 } |
| 14 |
| 15 PaymentRequest::PaymentRequest(const Vector<String>& supportedMethods) |
| 16 : m_supportedMethods(supportedMethods) |
| 17 { |
| 18 } |
| 19 |
| 20 PaymentRequest::~PaymentRequest() {} |
| 21 |
| 22 DEFINE_TRACE(PaymentRequest) |
| 23 { |
| 24 } |
| 25 |
| 26 } // namespace blink |
OLD | NEW |