| 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/content/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" |
| 22 #include "wtf/Compiler.h" | 22 #include "platform/wtf/Compiler.h" |
| 23 #include "wtf/Noncopyable.h" | 23 #include "platform/wtf/Noncopyable.h" |
| 24 #include "wtf/RefPtr.h" | 24 #include "platform/wtf/RefPtr.h" |
| 25 #include "wtf/Vector.h" | 25 #include "platform/wtf/Vector.h" |
| 26 #include "wtf/text/WTFString.h" | 26 #include "platform/wtf/text/WTFString.h" |
| 27 | 27 |
| 28 namespace blink { | 28 namespace blink { |
| 29 | 29 |
| 30 class ExceptionState; | 30 class ExceptionState; |
| 31 class ExecutionContext; | 31 class ExecutionContext; |
| 32 class PaymentAddress; | 32 class PaymentAddress; |
| 33 class PaymentDetailsInit; | 33 class PaymentDetailsInit; |
| 34 class ScriptPromiseResolver; | 34 class ScriptPromiseResolver; |
| 35 class ScriptState; | 35 class ScriptState; |
| 36 | 36 |
| (...skipping 86 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 |