OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 define('serial_service', [ | 5 define('serial_service', [ |
6 'content/public/renderer/service_provider', | 6 'content/public/renderer/service_provider', |
7 'data_receiver', | 7 'data_receiver', |
8 'data_sender', | 8 'data_sender', |
9 'device/serial/serial.mojom', | 9 'device/serial/serial.mojom', |
10 'device/serial/serial_serialization.mojom', | 10 'device/serial/serial_serialization.mojom', |
11 'mojo/public/js/bindings/core', | 11 'mojo/public/js/core', |
12 'mojo/public/js/bindings/router', | 12 'mojo/public/js/router', |
13 ], function(serviceProvider, | 13 ], function(serviceProvider, |
14 dataReceiver, | 14 dataReceiver, |
15 dataSender, | 15 dataSender, |
16 serialMojom, | 16 serialMojom, |
17 serialization, | 17 serialization, |
18 core, | 18 core, |
19 routerModule) { | 19 routerModule) { |
20 /** | 20 /** |
21 * A Javascript client for the serial service and connection Mojo services. | 21 * A Javascript client for the serial service and connection Mojo services. |
22 * | 22 * |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 | 506 |
507 return { | 507 return { |
508 getDevices: getDevices, | 508 getDevices: getDevices, |
509 createConnection: Connection.create, | 509 createConnection: Connection.create, |
510 getConnection: getConnection, | 510 getConnection: getConnection, |
511 getConnections: getConnections, | 511 getConnections: getConnections, |
512 // For testing. | 512 // For testing. |
513 Connection: Connection, | 513 Connection: Connection, |
514 }; | 514 }; |
515 }); | 515 }); |
OLD | NEW |