| 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 #include "modules/payments/PaymentRequestUpdateEvent.h" | 5 #include "modules/payments/PaymentRequestUpdateEvent.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
| 8 #include "bindings/core/v8/ScriptFunction.h" | 8 #include "bindings/core/v8/ScriptFunction.h" |
| 9 #include "bindings/core/v8/V8Binding.h" | 9 #include "bindings/core/v8/V8BindingForCore.h" |
| 10 #include "core/dom/DOMException.h" | 10 #include "core/dom/DOMException.h" |
| 11 #include "core/dom/ExceptionCode.h" | 11 #include "core/dom/ExceptionCode.h" |
| 12 #include "core/dom/ExecutionContext.h" | 12 #include "core/dom/ExecutionContext.h" |
| 13 #include "core/dom/TaskRunnerHelper.h" | 13 #include "core/dom/TaskRunnerHelper.h" |
| 14 #include "modules/payments/PaymentUpdater.h" | 14 #include "modules/payments/PaymentUpdater.h" |
| 15 #include "platform/wtf/text/WTFString.h" | 15 #include "platform/wtf/text/WTFString.h" |
| 16 #include "public/platform/WebTraceLocation.h" | 16 #include "public/platform/WebTraceLocation.h" |
| 17 | 17 |
| 18 namespace blink { | 18 namespace blink { |
| 19 namespace { | 19 namespace { |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 TaskRunnerHelper::Get(TaskType::kUserInteraction, execution_context), | 166 TaskRunnerHelper::Get(TaskType::kUserInteraction, execution_context), |
| 167 this, | 167 this, |
| 168 &PaymentRequestUpdateEvent::OnUpdateEventTimeout) {} | 168 &PaymentRequestUpdateEvent::OnUpdateEventTimeout) {} |
| 169 | 169 |
| 170 void PaymentRequestUpdateEvent::OnUpdateEventTimeout(TimerBase*) { | 170 void PaymentRequestUpdateEvent::OnUpdateEventTimeout(TimerBase*) { |
| 171 OnUpdatePaymentDetailsFailure("Timed out waiting for a response to a '" + | 171 OnUpdatePaymentDetailsFailure("Timed out waiting for a response to a '" + |
| 172 type() + "' event"); | 172 type() + "' event"); |
| 173 } | 173 } |
| 174 | 174 |
| 175 } // namespace blink | 175 } // namespace blink |
| OLD | NEW |