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

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

Issue 2406923002: Move payment_request.mojom file to components/ (Closed)
Patch Set: Created 4 years, 2 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 #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/payment_request.mojom-blink.h"
11 #include "core/dom/ContextLifecycleObserver.h" 12 #include "core/dom/ContextLifecycleObserver.h"
12 #include "core/events/EventTarget.h" 13 #include "core/events/EventTarget.h"
13 #include "modules/ModulesExport.h" 14 #include "modules/ModulesExport.h"
14 #include "modules/payments/PaymentCompleter.h" 15 #include "modules/payments/PaymentCompleter.h"
15 #include "modules/payments/PaymentDetails.h" 16 #include "modules/payments/PaymentDetails.h"
16 #include "modules/payments/PaymentMethodData.h" 17 #include "modules/payments/PaymentMethodData.h"
17 #include "modules/payments/PaymentOptions.h" 18 #include "modules/payments/PaymentOptions.h"
18 #include "modules/payments/PaymentUpdater.h" 19 #include "modules/payments/PaymentUpdater.h"
19 #include "mojo/public/cpp/bindings/binding.h" 20 #include "mojo/public/cpp/bindings/binding.h"
20 #include "platform/Timer.h" 21 #include "platform/Timer.h"
21 #include "platform/heap/Handle.h" 22 #include "platform/heap/Handle.h"
22 #include "public/platform/modules/payments/payment_request.mojom-blink.h"
23 #include "wtf/Compiler.h" 23 #include "wtf/Compiler.h"
24 #include "wtf/Noncopyable.h" 24 #include "wtf/Noncopyable.h"
25 #include "wtf/RefPtr.h" 25 #include "wtf/RefPtr.h"
26 #include "wtf/Vector.h" 26 #include "wtf/Vector.h"
27 #include "wtf/text/WTFString.h" 27 #include "wtf/text/WTFString.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 class ExceptionState; 31 class ExceptionState;
32 class PaymentAddress; 32 class PaymentAddress;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 Member<ScriptPromiseResolver> m_completeResolver; 123 Member<ScriptPromiseResolver> m_completeResolver;
124 Member<ScriptPromiseResolver> m_abortResolver; 124 Member<ScriptPromiseResolver> m_abortResolver;
125 mojom::blink::PaymentRequestPtr m_paymentProvider; 125 mojom::blink::PaymentRequestPtr m_paymentProvider;
126 mojo::Binding<mojom::blink::PaymentRequestClient> m_clientBinding; 126 mojo::Binding<mojom::blink::PaymentRequestClient> m_clientBinding;
127 Timer<PaymentRequest> m_completeTimer; 127 Timer<PaymentRequest> m_completeTimer;
128 }; 128 };
129 129
130 } // namespace blink 130 } // namespace blink
131 131
132 #endif // PaymentRequest_h 132 #endif // PaymentRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698