| 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> | 7 #include <stddef.h> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
| 10 #include "bindings/core/v8/ScriptPromiseResolver.h" | 10 #include "bindings/core/v8/ScriptPromiseResolver.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 #include "modules/payments/PaymentDetailsInit.h" | 33 #include "modules/payments/PaymentDetailsInit.h" |
| 34 #include "modules/payments/PaymentDetailsUpdate.h" | 34 #include "modules/payments/PaymentDetailsUpdate.h" |
| 35 #include "modules/payments/PaymentItem.h" | 35 #include "modules/payments/PaymentItem.h" |
| 36 #include "modules/payments/PaymentRequestUpdateEvent.h" | 36 #include "modules/payments/PaymentRequestUpdateEvent.h" |
| 37 #include "modules/payments/PaymentResponse.h" | 37 #include "modules/payments/PaymentResponse.h" |
| 38 #include "modules/payments/PaymentShippingOption.h" | 38 #include "modules/payments/PaymentShippingOption.h" |
| 39 #include "modules/payments/PaymentsValidators.h" | 39 #include "modules/payments/PaymentsValidators.h" |
| 40 #include "mojo/public/cpp/bindings/interface_request.h" | 40 #include "mojo/public/cpp/bindings/interface_request.h" |
| 41 #include "platform/RuntimeEnabledFeatures.h" | 41 #include "platform/RuntimeEnabledFeatures.h" |
| 42 #include "platform/mojo/MojoHelper.h" | 42 #include "platform/mojo/MojoHelper.h" |
| 43 #include "platform/wtf/HashSet.h" |
| 43 #include "public/platform/InterfaceProvider.h" | 44 #include "public/platform/InterfaceProvider.h" |
| 44 #include "public/platform/Platform.h" | 45 #include "public/platform/Platform.h" |
| 45 #include "public/platform/WebTraceLocation.h" | 46 #include "public/platform/WebTraceLocation.h" |
| 46 #include "wtf/HashSet.h" | |
| 47 | 47 |
| 48 using payments::mojom::blink::CanMakePaymentQueryResult; | 48 using payments::mojom::blink::CanMakePaymentQueryResult; |
| 49 using payments::mojom::blink::PaymentAddressPtr; | 49 using payments::mojom::blink::PaymentAddressPtr; |
| 50 using payments::mojom::blink::PaymentCurrencyAmount; | 50 using payments::mojom::blink::PaymentCurrencyAmount; |
| 51 using payments::mojom::blink::PaymentCurrencyAmountPtr; | 51 using payments::mojom::blink::PaymentCurrencyAmountPtr; |
| 52 using payments::mojom::blink::PaymentDetailsModifierPtr; | 52 using payments::mojom::blink::PaymentDetailsModifierPtr; |
| 53 using payments::mojom::blink::PaymentDetailsPtr; | 53 using payments::mojom::blink::PaymentDetailsPtr; |
| 54 using payments::mojom::blink::PaymentErrorReason; | 54 using payments::mojom::blink::PaymentErrorReason; |
| 55 using payments::mojom::blink::PaymentItemPtr; | 55 using payments::mojom::blink::PaymentItemPtr; |
| 56 using payments::mojom::blink::PaymentMethodDataPtr; | 56 using payments::mojom::blink::PaymentMethodDataPtr; |
| (...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1079 complete_resolver_.Clear(); | 1079 complete_resolver_.Clear(); |
| 1080 show_resolver_.Clear(); | 1080 show_resolver_.Clear(); |
| 1081 abort_resolver_.Clear(); | 1081 abort_resolver_.Clear(); |
| 1082 can_make_payment_resolver_.Clear(); | 1082 can_make_payment_resolver_.Clear(); |
| 1083 if (client_binding_.is_bound()) | 1083 if (client_binding_.is_bound()) |
| 1084 client_binding_.Close(); | 1084 client_binding_.Close(); |
| 1085 payment_provider_.reset(); | 1085 payment_provider_.reset(); |
| 1086 } | 1086 } |
| 1087 | 1087 |
| 1088 } // namespace blink | 1088 } // namespace blink |
| OLD | NEW |