OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_PAYMENTS_PAYMENT_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_PAYMENTS_PAYMENT_MANAGER_H_ |
6 #define CONTENT_BROWSER_PAYMENTS_PAYMENT_MANAGER_H_ | 6 #define CONTENT_BROWSER_PAYMENTS_PAYMENT_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "components/payments/content/payment_app.mojom.h" | 12 #include "components/payments/mojom/payment_app.mojom.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "mojo/public/cpp/bindings/binding.h" | 14 #include "mojo/public/cpp/bindings/binding.h" |
15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
19 class PaymentAppContextImpl; | 19 class PaymentAppContextImpl; |
20 | 20 |
21 class CONTENT_EXPORT PaymentManager | 21 class CONTENT_EXPORT PaymentManager |
22 : public NON_EXPORTED_BASE(payments::mojom::PaymentManager) { | 22 : public NON_EXPORTED_BASE(payments::mojom::PaymentManager) { |
(...skipping 21 matching lines...) Expand all Loading... |
44 | 44 |
45 GURL scope_; | 45 GURL scope_; |
46 mojo::Binding<payments::mojom::PaymentManager> binding_; | 46 mojo::Binding<payments::mojom::PaymentManager> binding_; |
47 base::WeakPtrFactory<PaymentManager> weak_ptr_factory_; | 47 base::WeakPtrFactory<PaymentManager> weak_ptr_factory_; |
48 DISALLOW_COPY_AND_ASSIGN(PaymentManager); | 48 DISALLOW_COPY_AND_ASSIGN(PaymentManager); |
49 }; | 49 }; |
50 | 50 |
51 } // namespace content | 51 } // namespace content |
52 | 52 |
53 #endif // CONTENT_BROWSER_PAYMENTS_PAYMENT_MANAGER_H_ | 53 #endif // CONTENT_BROWSER_PAYMENTS_PAYMENT_MANAGER_H_ |
OLD | NEW |