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

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

Issue 2866063004: payment app android
Patch Set: payment app android Created 3 years, 7 months 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
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"
(...skipping 11 matching lines...) Expand all
22 : public NON_EXPORTED_BASE(payments::mojom::PaymentManager) { 22 : public NON_EXPORTED_BASE(payments::mojom::PaymentManager) {
23 public: 23 public:
24 PaymentManager( 24 PaymentManager(
25 PaymentAppContextImpl* payment_app_context, 25 PaymentAppContextImpl* payment_app_context,
26 mojo::InterfaceRequest<payments::mojom::PaymentManager> request); 26 mojo::InterfaceRequest<payments::mojom::PaymentManager> request);
27 27
28 ~PaymentManager() override; 28 ~PaymentManager() override;
29 29
30 private: 30 private:
31 friend class PaymentAppContentUnitTestBase; 31 friend class PaymentAppContentUnitTestBase;
32 friend class PaymentAppProviderTest;
32 friend class PaymentManagerTest; 33 friend class PaymentManagerTest;
33 34
34 // payments::mojom::PaymentManager methods: 35 // payments::mojom::PaymentManager methods:
35 void Init(const std::string& scope) override; 36 void Init(const std::string& scope) override;
36 void SetManifest(payments::mojom::PaymentAppManifestPtr manifest, 37 void SetManifest(payments::mojom::PaymentAppManifestPtr manifest,
37 const SetManifestCallback& callback) override; 38 const SetManifestCallback& callback) override;
38 void GetManifest(const GetManifestCallback& callback) override; 39 void GetManifest(const GetManifestCallback& callback) override;
39 void DeletePaymentInstrument( 40 void DeletePaymentInstrument(
40 const std::string& instrument_key, 41 const std::string& instrument_key,
41 const DeletePaymentInstrumentCallback& callback) override; 42 const DeletePaymentInstrumentCallback& callback) override;
(...skipping 20 matching lines...) Expand all
62 63
63 GURL scope_; 64 GURL scope_;
64 mojo::Binding<payments::mojom::PaymentManager> binding_; 65 mojo::Binding<payments::mojom::PaymentManager> binding_;
65 base::WeakPtrFactory<PaymentManager> weak_ptr_factory_; 66 base::WeakPtrFactory<PaymentManager> weak_ptr_factory_;
66 DISALLOW_COPY_AND_ASSIGN(PaymentManager); 67 DISALLOW_COPY_AND_ASSIGN(PaymentManager);
67 }; 68 };
68 69
69 } // namespace content 70 } // namespace content
70 71
71 #endif // CONTENT_BROWSER_PAYMENTS_PAYMENT_MANAGER_H_ 72 #endif // CONTENT_BROWSER_PAYMENTS_PAYMENT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698