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

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

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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/payments/payment_app_event_dispatcher_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_BROWSER_PAYMENTS_PAYMENT_APP_EVENT_DISPATCHER_IMPL_H_
6 #define CONTENT_BROWSER_PAYMENTS_PAYMENT_APP_EVENT_DISPATCHER_IMPL_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11 #include "base/memory/singleton.h"
12 #include "components/payments/payment_app.mojom.h"
13 #include "content/public/browser/payment_app_event_dispatcher.h"
14
15 namespace content {
16
17 class BrowserContext;
18
19 class PaymentAppEventDispatcherImpl : public PaymentAppEventDispatcher {
20 public:
21 static PaymentAppEventDispatcherImpl* GetInstance();
22
23 void DispatchPaymentRequestEvent(
24 BrowserContext* browser_context,
25 payments::mojom::PaymentAppRequestDataPtr requestData) override;
26
27 private:
28 PaymentAppEventDispatcherImpl();
29 ~PaymentAppEventDispatcherImpl() override;
30
31 friend struct base::DefaultSingletonTraits<PaymentAppEventDispatcherImpl>;
32
33 DISALLOW_COPY_AND_ASSIGN(PaymentAppEventDispatcherImpl);
34 };
35
36 } // namespace content
37
38 #endif // CONTENT_BROWSER_PAYMENTS_PAYMENT_APP_EVENT_DISPATCHER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/payments/payment_app_event_dispatcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698