| 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 /** | 5 /** |
| 6 * Javascript for DevicesPage and DevicesView, served from | 6 * Javascript for DevicesPage and DevicesView, served from |
| 7 * chrome://bluetooth-internals/. | 7 * chrome://bluetooth-internals/. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 cr.define('devices_page', function() { | 10 cr.define('devices_page', function() { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 /** | 28 /** |
| 29 * Sets the device collection for the page's device table. | 29 * Sets the device collection for the page's device table. |
| 30 * @param {!device_collection.DeviceCollection} devices | 30 * @param {!device_collection.DeviceCollection} devices |
| 31 */ | 31 */ |
| 32 setDevices: function(devices) { | 32 setDevices: function(devices) { |
| 33 this.deviceTable.setDevices(devices); | 33 this.deviceTable.setDevices(devices); |
| 34 } | 34 } |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 return { | 37 return {DevicesPage: DevicesPage}; |
| 38 DevicesPage: DevicesPage | |
| 39 }; | |
| 40 }); | 38 }); |
| OLD | NEW |