| 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 #include "modules/payments/PaymentRequest.h" | 5 #include "modules/payments/PaymentRequest.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <utility> |
| 7 #include "bindings/core/v8/ConditionalFeatures.h" | 9 #include "bindings/core/v8/ConditionalFeatures.h" |
| 8 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| 9 #include "bindings/core/v8/ScriptPromiseResolver.h" | 11 #include "bindings/core/v8/ScriptPromiseResolver.h" |
| 10 #include "bindings/core/v8/ScriptState.h" | 12 #include "bindings/core/v8/ScriptState.h" |
| 11 #include "bindings/core/v8/V8StringResource.h" | 13 #include "bindings/core/v8/V8StringResource.h" |
| 12 #include "bindings/modules/v8/V8AndroidPayMethodData.h" | 14 #include "bindings/modules/v8/V8AndroidPayMethodData.h" |
| 13 #include "bindings/modules/v8/V8BasicCardRequest.h" | 15 #include "bindings/modules/v8/V8BasicCardRequest.h" |
| 14 #include "bindings/modules/v8/V8PaymentDetails.h" | 16 #include "bindings/modules/v8/V8PaymentDetails.h" |
| 15 #include "core/EventTypeNames.h" | 17 #include "core/EventTypeNames.h" |
| 16 #include "core/dom/DOMException.h" | 18 #include "core/dom/DOMException.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 34 #include "modules/payments/PaymentResponse.h" | 36 #include "modules/payments/PaymentResponse.h" |
| 35 #include "modules/payments/PaymentShippingOption.h" | 37 #include "modules/payments/PaymentShippingOption.h" |
| 36 #include "modules/payments/PaymentsValidators.h" | 38 #include "modules/payments/PaymentsValidators.h" |
| 37 #include "mojo/public/cpp/bindings/interface_request.h" | 39 #include "mojo/public/cpp/bindings/interface_request.h" |
| 38 #include "platform/RuntimeEnabledFeatures.h" | 40 #include "platform/RuntimeEnabledFeatures.h" |
| 39 #include "platform/mojo/MojoHelper.h" | 41 #include "platform/mojo/MojoHelper.h" |
| 40 #include "public/platform/InterfaceProvider.h" | 42 #include "public/platform/InterfaceProvider.h" |
| 41 #include "public/platform/Platform.h" | 43 #include "public/platform/Platform.h" |
| 42 #include "public/platform/WebTraceLocation.h" | 44 #include "public/platform/WebTraceLocation.h" |
| 43 #include "wtf/HashSet.h" | 45 #include "wtf/HashSet.h" |
| 44 #include <stddef.h> | |
| 45 #include <utility> | |
| 46 | 46 |
| 47 using payments::mojom::blink::CanMakePaymentQueryResult; | 47 using payments::mojom::blink::CanMakePaymentQueryResult; |
| 48 using payments::mojom::blink::PaymentAddressPtr; | 48 using payments::mojom::blink::PaymentAddressPtr; |
| 49 using payments::mojom::blink::PaymentCurrencyAmount; | 49 using payments::mojom::blink::PaymentCurrencyAmount; |
| 50 using payments::mojom::blink::PaymentCurrencyAmountPtr; | 50 using payments::mojom::blink::PaymentCurrencyAmountPtr; |
| 51 using payments::mojom::blink::PaymentDetailsModifierPtr; | 51 using payments::mojom::blink::PaymentDetailsModifierPtr; |
| 52 using payments::mojom::blink::PaymentDetailsPtr; | 52 using payments::mojom::blink::PaymentDetailsPtr; |
| 53 using payments::mojom::blink::PaymentErrorReason; | 53 using payments::mojom::blink::PaymentErrorReason; |
| 54 using payments::mojom::blink::PaymentItemPtr; | 54 using payments::mojom::blink::PaymentItemPtr; |
| 55 using payments::mojom::blink::PaymentMethodDataPtr; | 55 using payments::mojom::blink::PaymentMethodDataPtr; |
| (...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1046 m_completeResolver.clear(); | 1046 m_completeResolver.clear(); |
| 1047 m_showResolver.clear(); | 1047 m_showResolver.clear(); |
| 1048 m_abortResolver.clear(); | 1048 m_abortResolver.clear(); |
| 1049 m_canMakePaymentResolver.clear(); | 1049 m_canMakePaymentResolver.clear(); |
| 1050 if (m_clientBinding.is_bound()) | 1050 if (m_clientBinding.is_bound()) |
| 1051 m_clientBinding.Close(); | 1051 m_clientBinding.Close(); |
| 1052 m_paymentProvider.reset(); | 1052 m_paymentProvider.reset(); |
| 1053 } | 1053 } |
| 1054 | 1054 |
| 1055 } // namespace blink | 1055 } // namespace blink |
| OLD | NEW |