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

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

Issue 2640233003: PaymentRequest: Move m_completeTimer to frame-specific TaskRunnerTimer. (Closed)
Patch Set: Use MiscPlatformAPI Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/payments/PaymentRequest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 PaymentOptions m_options; 116 PaymentOptions m_options;
117 Member<PaymentAddress> m_shippingAddress; 117 Member<PaymentAddress> m_shippingAddress;
118 String m_shippingOption; 118 String m_shippingOption;
119 String m_shippingType; 119 String m_shippingType;
120 Member<ScriptPromiseResolver> m_showResolver; 120 Member<ScriptPromiseResolver> m_showResolver;
121 Member<ScriptPromiseResolver> m_completeResolver; 121 Member<ScriptPromiseResolver> m_completeResolver;
122 Member<ScriptPromiseResolver> m_abortResolver; 122 Member<ScriptPromiseResolver> m_abortResolver;
123 Member<ScriptPromiseResolver> m_canMakePaymentResolver; 123 Member<ScriptPromiseResolver> m_canMakePaymentResolver;
124 payments::mojom::blink::PaymentRequestPtr m_paymentProvider; 124 payments::mojom::blink::PaymentRequestPtr m_paymentProvider;
125 mojo::Binding<payments::mojom::blink::PaymentRequestClient> m_clientBinding; 125 mojo::Binding<payments::mojom::blink::PaymentRequestClient> m_clientBinding;
126 Timer<PaymentRequest> m_completeTimer; 126 TaskRunnerTimer<PaymentRequest> m_completeTimer;
127 }; 127 };
128 128
129 } // namespace blink 129 } // namespace blink
130 130
131 #endif // PaymentRequest_h 131 #endif // PaymentRequest_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/payments/PaymentRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698