| Index: chrome/browser/resources/bluetooth_internals/bluetooth_internals.js
|
| diff --git a/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js b/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js
|
| index e32988f1f747927759335f64fca83140a9e058bd..93a73935c52d3cabcc24309e489e4b00cc7de649 100644
|
| --- a/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js
|
| +++ b/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js
|
| @@ -82,20 +82,6 @@
|
| };
|
|
|
| /**
|
| - * TODO(crbug.com/652361): Move to shared location.
|
| - * Helper to convert callback-based define() API to a promise-based API.
|
| - * @param {!Array<string>} moduleNames
|
| - * @return {!Promise}
|
| - */
|
| - function importModules(moduleNames) {
|
| - return new Promise(function(resolve, reject) {
|
| - define(moduleNames, function(var_args) {
|
| - resolve(Array.prototype.slice.call(arguments, 0));
|
| - });
|
| - });
|
| - }
|
| -
|
| - /**
|
| * Initializes Mojo proxies for page and Bluetooth services.
|
| * @return {!Promise} resolves if adapter is acquired, rejects if Bluetooth
|
| * is not supported.
|
|
|