Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Side by Side Diff: content/browser/payments/payment_app_event_dispatcher_impl.cc

Issue 2529223002: event impl
Patch Set: Event dispatch Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698