Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: extensions/renderer/resources/serial_service.js

Issue 1827473002: Make the process-wide ServiceRegistry available to JS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/frame_service_registry',
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/core', 11 'mojo/public/js/core',
12 'mojo/public/js/router', 12 'mojo/public/js/router',
13 'stash_client', 13 'stash_client',
14 ], function(serviceProvider, 14 ], function(serviceProvider,
15 dataReceiver, 15 dataReceiver,
16 dataSender, 16 dataSender,
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 545
546 return { 546 return {
547 getDevices: getDevices, 547 getDevices: getDevices,
548 createConnection: Connection.create, 548 createConnection: Connection.create,
549 getConnection: getConnection, 549 getConnection: getConnection,
550 getConnections: getConnections, 550 getConnections: getConnections,
551 // For testing. 551 // For testing.
552 Connection: Connection, 552 Connection: Connection,
553 }; 553 };
554 }); 554 });
OLDNEW
« no previous file with comments | « extensions/renderer/resources/mime_handler_private_custom_bindings.js ('k') | extensions/renderer/resources/stash_client.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698