| 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 /** @fileoverview A helper object used for testing the Device page. */ | 5 /** @fileoverview A helper object used for testing the Device page. */ |
| 6 cr.exportPath('settings'); | 6 cr.exportPath('settings'); |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * Mirrors DeviceType from ash/common/system/chromeos/power/power_status.h. | 9 * Mirrors DeviceType from ash/system/power/power_status.h. |
| 10 * @enum {number} | 10 * @enum {number} |
| 11 */ | 11 */ |
| 12 settings.PowerDeviceType = { | 12 settings.PowerDeviceType = { |
| 13 DEDICATED_CHARGER: 0, | 13 DEDICATED_CHARGER: 0, |
| 14 DUAL_ROLE_USB: 1, | 14 DUAL_ROLE_USB: 1, |
| 15 }; | 15 }; |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * @typedef {{ | 18 * @typedef {{ |
| 19 * id: string, | 19 * id: string, |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 setPreferredNoteTakingApp: function(appId) { | 164 setPreferredNoteTakingApp: function(appId) { |
| 165 chrome.send('setPreferredNoteTakingApp', [appId]); | 165 chrome.send('setPreferredNoteTakingApp', [appId]); |
| 166 }, | 166 }, |
| 167 }; | 167 }; |
| 168 | 168 |
| 169 return { | 169 return { |
| 170 DevicePageBrowserProxy: DevicePageBrowserProxy, | 170 DevicePageBrowserProxy: DevicePageBrowserProxy, |
| 171 DevicePageBrowserProxyImpl: DevicePageBrowserProxyImpl, | 171 DevicePageBrowserProxyImpl: DevicePageBrowserProxyImpl, |
| 172 }; | 172 }; |
| 173 }); | 173 }); |
| OLD | NEW |