| Index: content/browser/payments/payment_app_event_dispatcher_impl.cc
|
| diff --git a/content/browser/payments/payment_app_event_dispatcher_impl.cc b/content/browser/payments/payment_app_event_dispatcher_impl.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b8249fc4270640a7d0fe08f24ccbea4429f126e4
|
| --- /dev/null
|
| +++ b/content/browser/payments/payment_app_event_dispatcher_impl.cc
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "content/browser/payments/payment_app_event_dispatcher_impl.h"
|
| +
|
| +#include "content/public/browser/browser_context.h"
|
| +#include "content/public/browser/browser_thread.h"
|
| +
|
| +namespace content {
|
| +
|
| +//static
|
| +PaymentAppEventDispatcher* PaymentAppEventDispatcher::GetInstance() {
|
| + return PaymentAppEventDispatcherImpl::GetInstance();
|
| +}
|
| +
|
| +PaymentAppEventDispatcherImpl* PaymentAppEventDispatcherImpl::GetInstance() {
|
| + DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| + return base::Singleton<PaymentAppEventDispatcherImpl>::get();
|
| +}
|
| +
|
| +void PaymentAppEventDispatcherImpl::DispatchPaymentRequestEvent(
|
| + BrowserContext* browser_context,
|
| + payments::mojom::PaymentAppRequestDataPtr requestData) {
|
| +}
|
| +
|
| +PaymentAppEventDispatcherImpl::PaymentAppEventDispatcherImpl() {
|
| +}
|
| +
|
| +PaymentAppEventDispatcherImpl::~PaymentAppEventDispatcherImpl() {
|
| +}
|
| +
|
| +} // namespace content
|
|
|