Chromium Code Reviews| 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 * @fileoverview A helper object used from the "CUPS printing" section to | 6 * @fileoverview A helper object used from the "CUPS printing" section to |
| 7 * interact with the browser. | 7 * interact with the browser. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 /** | 10 /** |
| 11 * @typedef {{ | 11 * @typedef {{ |
| 12 * printerAddress: string, | 12 * printerAddress: string, |
| 13 * printerAutoconf: boolean, | 13 * printerAutoconf: boolean, |
| 14 * printerDescription: string, | 14 * printerDescription: string, |
| 15 * printerId: string, | 15 * printerId: string, |
| 16 * printerManufacturer: string, | 16 * printerManufacturer: string, |
| 17 * printerModel: string, | 17 * printerModel: string, |
| 18 * printerName: string, | 18 * printerName: string, |
| 19 * printerPPDPath: string, | 19 * printerPPDPath: string, |
| 20 * printerProtocol: string, | 20 * printerProtocol: string, |
| 21 * printerQueue: string, | 21 * printerQueue: string, |
| 22 * printerStatus: string | 22 * printerStatus: string, |
| 23 * ppdManufacturer: string, | |
|
michaelpg
2017/07/06 20:10:43
optional nit: keep alphabetical
skau
2017/07/06 21:10:36
Done.
| |
| 24 * ppdModel: string | |
| 23 * }} | 25 * }} |
| 24 */ | 26 */ |
| 25 var CupsPrinterInfo; | 27 var CupsPrinterInfo; |
| 26 | 28 |
| 27 /** | 29 /** |
| 28 * @typedef {{ | 30 * @typedef {{ |
| 29 * printerList: !Array<!CupsPrinterInfo>, | 31 * printerList: !Array<!CupsPrinterInfo>, |
| 30 * }} | 32 * }} |
| 31 */ | 33 */ |
| 32 var CupsPrintersList; | 34 var CupsPrintersList; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 169 } | 171 } |
| 170 } | 172 } |
| 171 | 173 |
| 172 cr.addSingletonGetter(CupsPrintersBrowserProxyImpl); | 174 cr.addSingletonGetter(CupsPrintersBrowserProxyImpl); |
| 173 | 175 |
| 174 return { | 176 return { |
| 175 CupsPrintersBrowserProxy: CupsPrintersBrowserProxy, | 177 CupsPrintersBrowserProxy: CupsPrintersBrowserProxy, |
| 176 CupsPrintersBrowserProxyImpl: CupsPrintersBrowserProxyImpl, | 178 CupsPrintersBrowserProxyImpl: CupsPrintersBrowserProxyImpl, |
| 177 }; | 179 }; |
| 178 }); | 180 }); |
| OLD | NEW |