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 PaymentRequest_h | 5 #ifndef PaymentRequest_h |
6 #define PaymentRequest_h | 6 #define PaymentRequest_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
9 #include "bindings/core/v8/ScriptValue.h" | 9 #include "bindings/core/v8/ScriptValue.h" |
10 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
11 #include "components/payments/mojom/payment_request.mojom-blink.h" | 11 #include "components/payments/content/payment_request.mojom-blink.h" |
12 #include "core/dom/ContextLifecycleObserver.h" | 12 #include "core/dom/ContextLifecycleObserver.h" |
13 #include "core/events/EventTarget.h" | 13 #include "core/events/EventTarget.h" |
14 #include "modules/ModulesExport.h" | 14 #include "modules/ModulesExport.h" |
15 #include "modules/payments/PaymentCompleter.h" | 15 #include "modules/payments/PaymentCompleter.h" |
16 #include "modules/payments/PaymentMethodData.h" | 16 #include "modules/payments/PaymentMethodData.h" |
17 #include "modules/payments/PaymentOptions.h" | 17 #include "modules/payments/PaymentOptions.h" |
18 #include "modules/payments/PaymentUpdater.h" | 18 #include "modules/payments/PaymentUpdater.h" |
19 #include "mojo/public/cpp/bindings/binding.h" | 19 #include "mojo/public/cpp/bindings/binding.h" |
20 #include "platform/Timer.h" | 20 #include "platform/Timer.h" |
21 #include "platform/heap/Handle.h" | 21 #include "platform/heap/Handle.h" |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 Member<ScriptPromiseResolver> abort_resolver_; | 123 Member<ScriptPromiseResolver> abort_resolver_; |
124 Member<ScriptPromiseResolver> can_make_payment_resolver_; | 124 Member<ScriptPromiseResolver> can_make_payment_resolver_; |
125 payments::mojom::blink::PaymentRequestPtr payment_provider_; | 125 payments::mojom::blink::PaymentRequestPtr payment_provider_; |
126 mojo::Binding<payments::mojom::blink::PaymentRequestClient> client_binding_; | 126 mojo::Binding<payments::mojom::blink::PaymentRequestClient> client_binding_; |
127 TaskRunnerTimer<PaymentRequest> complete_timer_; | 127 TaskRunnerTimer<PaymentRequest> complete_timer_; |
128 }; | 128 }; |
129 | 129 |
130 } // namespace blink | 130 } // namespace blink |
131 | 131 |
132 #endif // PaymentRequest_h | 132 #endif // PaymentRequest_h |
OLD | NEW |