Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: third_party/WebKit/Source/modules/payments/PaymentRequest.cpp

Issue 2848243004: Clean up bindings/core/v8 (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
11 #include "bindings/core/v8/ScriptState.h"
12 #include "bindings/core/v8/V8StringResource.h" 11 #include "bindings/core/v8/V8StringResource.h"
13 #include "bindings/modules/v8/V8AndroidPayMethodData.h" 12 #include "bindings/modules/v8/V8AndroidPayMethodData.h"
14 #include "bindings/modules/v8/V8BasicCardRequest.h" 13 #include "bindings/modules/v8/V8BasicCardRequest.h"
15 #include "bindings/modules/v8/V8PaymentDetailsUpdate.h" 14 #include "bindings/modules/v8/V8PaymentDetailsUpdate.h"
16 #include "core/EventTypeNames.h" 15 #include "core/EventTypeNames.h"
17 #include "core/dom/DOMException.h" 16 #include "core/dom/DOMException.h"
18 #include "core/dom/Document.h" 17 #include "core/dom/Document.h"
19 #include "core/dom/ExceptionCode.h" 18 #include "core/dom/ExceptionCode.h"
20 #include "core/dom/TaskRunnerHelper.h" 19 #include "core/dom/TaskRunnerHelper.h"
21 #include "core/events/Event.h" 20 #include "core/events/Event.h"
(...skipping 11 matching lines...) Expand all
33 #include "modules/payments/PaymentDetailsInit.h" 32 #include "modules/payments/PaymentDetailsInit.h"
34 #include "modules/payments/PaymentDetailsUpdate.h" 33 #include "modules/payments/PaymentDetailsUpdate.h"
35 #include "modules/payments/PaymentItem.h" 34 #include "modules/payments/PaymentItem.h"
36 #include "modules/payments/PaymentRequestUpdateEvent.h" 35 #include "modules/payments/PaymentRequestUpdateEvent.h"
37 #include "modules/payments/PaymentResponse.h" 36 #include "modules/payments/PaymentResponse.h"
38 #include "modules/payments/PaymentShippingOption.h" 37 #include "modules/payments/PaymentShippingOption.h"
39 #include "modules/payments/PaymentsValidators.h" 38 #include "modules/payments/PaymentsValidators.h"
40 #include "mojo/public/cpp/bindings/interface_request.h" 39 #include "mojo/public/cpp/bindings/interface_request.h"
41 #include "platform/RuntimeEnabledFeatures.h" 40 #include "platform/RuntimeEnabledFeatures.h"
42 #include "platform/UUID.h" 41 #include "platform/UUID.h"
42 #include "platform/bindings/ScriptState.h"
43 #include "platform/mojo/MojoHelper.h" 43 #include "platform/mojo/MojoHelper.h"
44 #include "platform/wtf/HashSet.h" 44 #include "platform/wtf/HashSet.h"
45 #include "public/platform/InterfaceProvider.h" 45 #include "public/platform/InterfaceProvider.h"
46 #include "public/platform/Platform.h" 46 #include "public/platform/Platform.h"
47 #include "public/platform/WebTraceLocation.h" 47 #include "public/platform/WebTraceLocation.h"
48 48
49 namespace { 49 namespace {
50 50
51 using ::payments::mojom::blink::CanMakePaymentQueryResult; 51 using ::payments::mojom::blink::CanMakePaymentQueryResult;
52 using ::payments::mojom::blink::PaymentAddressPtr; 52 using ::payments::mojom::blink::PaymentAddressPtr;
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after
1088 complete_resolver_.Clear(); 1088 complete_resolver_.Clear();
1089 show_resolver_.Clear(); 1089 show_resolver_.Clear();
1090 abort_resolver_.Clear(); 1090 abort_resolver_.Clear();
1091 can_make_payment_resolver_.Clear(); 1091 can_make_payment_resolver_.Clear();
1092 if (client_binding_.is_bound()) 1092 if (client_binding_.is_bound())
1093 client_binding_.Close(); 1093 client_binding_.Close();
1094 payment_provider_.reset(); 1094 payment_provider_.reset();
1095 } 1095 }
1096 1096
1097 } // namespace blink 1097 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698