| 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/PaymentManager.h" | 5 #include "modules/payments/PaymentManager.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ScriptPromise.h" | 7 #include "bindings/core/v8/ScriptPromise.h" |
| 8 #include "bindings/core/v8/ScriptState.h" | |
| 9 #include "core/dom/DOMException.h" | 8 #include "core/dom/DOMException.h" |
| 10 #include "modules/payments/PaymentAppManifest.h" | 9 #include "modules/payments/PaymentAppManifest.h" |
| 11 #include "modules/payments/PaymentAppOption.h" | 10 #include "modules/payments/PaymentAppOption.h" |
| 12 #include "modules/payments/PaymentInstruments.h" | 11 #include "modules/payments/PaymentInstruments.h" |
| 13 #include "modules/serviceworkers/ServiceWorkerRegistration.h" | 12 #include "modules/serviceworkers/ServiceWorkerRegistration.h" |
| 13 #include "platform/bindings/ScriptState.h" |
| 14 #include "platform/mojo/MojoHelper.h" | 14 #include "platform/mojo/MojoHelper.h" |
| 15 #include "public/platform/InterfaceProvider.h" | 15 #include "public/platform/InterfaceProvider.h" |
| 16 #include "public/platform/Platform.h" | 16 #include "public/platform/Platform.h" |
| 17 | 17 |
| 18 namespace mojo { | 18 namespace mojo { |
| 19 | 19 |
| 20 using payments::mojom::blink::PaymentAppManifest; | 20 using payments::mojom::blink::PaymentAppManifest; |
| 21 using payments::mojom::blink::PaymentAppManifestPtr; | 21 using payments::mojom::blink::PaymentAppManifestPtr; |
| 22 using payments::mojom::blink::PaymentAppOption; | 22 using payments::mojom::blink::PaymentAppOption; |
| 23 using payments::mojom::blink::PaymentAppOptionPtr; | 23 using payments::mojom::blink::PaymentAppOptionPtr; |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 "No payment app manifest associated with the service worker.")); | 198 "No payment app manifest associated with the service worker.")); |
| 199 break; | 199 break; |
| 200 } | 200 } |
| 201 } | 201 } |
| 202 | 202 |
| 203 void PaymentManager::OnServiceConnectionError() { | 203 void PaymentManager::OnServiceConnectionError() { |
| 204 manager_.reset(); | 204 manager_.reset(); |
| 205 } | 205 } |
| 206 | 206 |
| 207 } // namespace blink | 207 } // namespace blink |
| OLD | NEW |