Chromium Code Reviews| Index: third_party/WebKit/Source/modules/payments/PaymentRequest.h |
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.h b/third_party/WebKit/Source/modules/payments/PaymentRequest.h |
| index 178f05d6c98b1ebbb583ed41b0c6aa72f3d1c609..2a59ff8c152da12f9a7785c2e5c6318641dab4d3 100644 |
| --- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h |
| +++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h |
| @@ -17,6 +17,7 @@ |
| #include "modules/payments/PaymentOptions.h" |
| #include "modules/payments/PaymentUpdater.h" |
| #include "mojo/public/cpp/bindings/binding.h" |
| +#include "platform/Timer.h" |
| #include "platform/heap/Handle.h" |
| #include "public/platform/modules/payments/payment_request.mojom-blink.h" |
| #include "wtf/Compiler.h" |
| @@ -72,6 +73,8 @@ public: |
| DECLARE_TRACE(); |
| + void onTimerFired(TimerBase*); |
|
Marijn Kruisselbrink
2016/08/01 22:42:25
Especially if this is going to be a public method
please use gerrit instead
2016/08/01 23:55:35
Done.
|
| + |
| private: |
| PaymentRequest(ScriptState*, const HeapVector<PaymentMethodData>&, const PaymentDetails&, const PaymentOptions&, ExceptionState&); |
| @@ -102,6 +105,7 @@ private: |
| Member<ScriptPromiseResolver> m_abortResolver; |
| mojom::blink::PaymentRequestPtr m_paymentProvider; |
| mojo::Binding<mojom::blink::PaymentRequestClient> m_clientBinding; |
| + Timer<PaymentRequest> m_completeTimer; |
|
Marijn Kruisselbrink
2016/08/01 22:42:25
(in the future I believe using Timer directly for
please use gerrit instead
2016/08/01 23:55:35
Acknowledged.
|
| }; |
| } // namespace blink |