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

Unified 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698