| 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 PaymentManager_h | 5 #ifndef PaymentManager_h |
| 6 #define PaymentManager_h | 6 #define PaymentManager_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
| 9 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
| 10 #include "components/payments/content/payment_app.mojom-blink.h" | 10 #include "components/payments/content/payment_app.mojom-blink.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 explicit PaymentManager(ServiceWorkerRegistration*); | 39 explicit PaymentManager(ServiceWorkerRegistration*); |
| 40 | 40 |
| 41 void OnSetManifest(ScriptPromiseResolver*, | 41 void OnSetManifest(ScriptPromiseResolver*, |
| 42 payments::mojom::blink::PaymentAppManifestError); | 42 payments::mojom::blink::PaymentAppManifestError); |
| 43 void OnGetManifest(ScriptPromiseResolver*, | 43 void OnGetManifest(ScriptPromiseResolver*, |
| 44 payments::mojom::blink::PaymentAppManifestPtr, | 44 payments::mojom::blink::PaymentAppManifestPtr, |
| 45 payments::mojom::blink::PaymentAppManifestError); | 45 payments::mojom::blink::PaymentAppManifestError); |
| 46 void OnServiceConnectionError(); | 46 void OnServiceConnectionError(); |
| 47 | 47 |
| 48 Member<ServiceWorkerRegistration> registration_; | 48 Member<ServiceWorkerRegistration> registration_; |
| 49 payments::mojom::blink::PaymentManagerPtr manager_; |
| 49 Member<PaymentInstruments> instruments_; | 50 Member<PaymentInstruments> instruments_; |
| 50 payments::mojom::blink::PaymentManagerPtr manager_; | |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace blink | 53 } // namespace blink |
| 54 | 54 |
| 55 #endif // PaymentManager_h | 55 #endif // PaymentManager_h |
| OLD | NEW |