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

Side by Side Diff: chrome/browser/resources/bluetooth_internals/interfaces.js

Issue 2448713002: bluetooth: Add Device connection logic and accompanying user interface. (Closed)
Patch Set: More tests, more comments Created 4 years, 1 month 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 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 /** 5 /**
6 * Javascript for Mojo interface helpers, served from 6 * Javascript for Mojo interface helpers and global variables, served from
7 * chrome://bluetooth-internals/. 7 * chrome://bluetooth-internals/.
8 */ 8 */
9 9
10 cr.define('interfaces', function() { 10 cr.define('interfaces', function() {
11 11
12 /** 12 /**
13 * TODO(crbug.com/652361): Move to shared location. 13 * TODO(crbug.com/652361): Move to shared location.
14 * Helper to convert callback-based define() API to a promise-based API. 14 * Helper to convert callback-based define() API to a promise-based API.
15 * @param {!Array<string>} moduleNames 15 * @param {!Array<string>} moduleNames
16 * @return {!Promise} 16 * @return {!Promise}
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 Object.assign(interfaces, { 60 Object.assign(interfaces, {
61 DefaultAdapter: adapter, 61 DefaultAdapter: adapter,
62 }); 62 });
63 }); 63 });
64 } 64 }
65 65
66 return { 66 return {
67 initialize: initializeProxies, 67 initialize: initializeProxies,
68 }; 68 };
69 }); 69 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698