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 "content/browser/payments/payment_app_event_dispatcher_impl.h" |
| 6 |
| 7 #include "content/public/browser/browser_context.h" |
| 8 #include "content/public/browser/browser_thread.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 //static |
| 13 PaymentAppEventDispatcher* PaymentAppEventDispatcher::GetInstance() { |
| 14 return PaymentAppEventDispatcherImpl::GetInstance(); |
| 15 } |
| 16 |
| 17 PaymentAppEventDispatcherImpl* PaymentAppEventDispatcherImpl::GetInstance() { |
| 18 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 19 return base::Singleton<PaymentAppEventDispatcherImpl>::get(); |
| 20 } |
| 21 |
| 22 void PaymentAppEventDispatcherImpl::DispatchPaymentRequestEvent( |
| 23 BrowserContext* browser_context, |
| 24 payments::mojom::PaymentAppRequestDataPtr requestData) { |
| 25 } |
| 26 |
| 27 PaymentAppEventDispatcherImpl::PaymentAppEventDispatcherImpl() { |
| 28 } |
| 29 |
| 30 PaymentAppEventDispatcherImpl::~PaymentAppEventDispatcherImpl() { |
| 31 } |
| 32 |
| 33 } // namespace content |
OLD | NEW |