| 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 #ifndef PaymentRequestUpdateEvent_h | 5 #ifndef PaymentRequestUpdateEvent_h |
| 6 #define PaymentRequestUpdateEvent_h | 6 #define PaymentRequestUpdateEvent_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
| 9 #include "bindings/core/v8/ScriptWrappable.h" | |
| 10 #include "core/events/Event.h" | 9 #include "core/events/Event.h" |
| 11 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
| 12 #include "modules/payments/PaymentRequestUpdateEventInit.h" | 11 #include "modules/payments/PaymentRequestUpdateEventInit.h" |
| 13 #include "modules/payments/PaymentUpdater.h" | 12 #include "modules/payments/PaymentUpdater.h" |
| 14 #include "platform/Timer.h" | 13 #include "platform/Timer.h" |
| 14 #include "platform/bindings/ScriptWrappable.h" |
| 15 #include "platform/heap/Handle.h" | 15 #include "platform/heap/Handle.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class ExceptionState; | 19 class ExceptionState; |
| 20 class ExecutionContext; | 20 class ExecutionContext; |
| 21 class ScriptState; | 21 class ScriptState; |
| 22 | 22 |
| 23 class MODULES_EXPORT PaymentRequestUpdateEvent final : public Event, | 23 class MODULES_EXPORT PaymentRequestUpdateEvent final : public Event, |
| 24 public PaymentUpdater { | 24 public PaymentUpdater { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 53 void OnUpdateEventTimeout(TimerBase*); | 53 void OnUpdateEventTimeout(TimerBase*); |
| 54 | 54 |
| 55 Member<PaymentUpdater> updater_; | 55 Member<PaymentUpdater> updater_; |
| 56 bool wait_for_update_; | 56 bool wait_for_update_; |
| 57 TaskRunnerTimer<PaymentRequestUpdateEvent> abort_timer_; | 57 TaskRunnerTimer<PaymentRequestUpdateEvent> abort_timer_; |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 } // namespace blink | 60 } // namespace blink |
| 61 | 61 |
| 62 #endif // PaymentRequestUpdateEvent_h | 62 #endif // PaymentRequestUpdateEvent_h |
| OLD | NEW |