Chromium Code Reviews| Index: chrome/browser/resources/print_preview/data/destination.js |
| diff --git a/chrome/browser/resources/print_preview/data/destination.js b/chrome/browser/resources/print_preview/data/destination.js |
| index f4a7f14e30ffa7ff9161ef7bc89dfd9235697dab..3e8c4d4a11d02abeda045f11758cf29026691c9e 100644 |
| --- a/chrome/browser/resources/print_preview/data/destination.js |
| +++ b/chrome/browser/resources/print_preview/data/destination.js |
| @@ -48,14 +48,14 @@ cr.define('print_preview', function() { |
| * @param {boolean} isRecent Whether the destination has been used recently. |
| * @param {!print_preview.Destination.ConnectionStatus} connectionStatus |
| * Connection status of the print destination. |
| - * @param {{tags: Array.<string>, |
| - * isOwned: ?boolean, |
| - * account: ?string, |
| - * lastAccessTime: ?number, |
| - * isTosAccepted: ?boolean, |
| - * cloudID: ?string, |
| - * description: ?string}=} opt_params Optional parameters for the |
| - * destination. |
| + * @param {{tags: (Array.<string>|undefined), |
| + * isOwned: (boolean|undefined), |
| + * account: (string|undefined), |
| + * lastAccessTime: (number|undefined), |
| + * isTosAccepted: (boolean|undefined), |
| + * cloudID: (string|undefined), |
| + * description: (string|undefined)}=} opt_params Optional parameters |
| + * for the destination. |
| * @constructor |
| */ |
| function Destination(id, type, origin, displayName, isRecent, |
| @@ -98,7 +98,7 @@ cr.define('print_preview', function() { |
| /** |
| * Print capabilities of the destination. |
| - * @private {print_preview.Cdd} |
| + * @private {?print_preview.Cdd} |
|
Aleksey Shlyapnikov
2014/09/22 22:00:40
Same here, it's an object, right?
Vitaly Pavlenko
2014/09/22 22:33:11
Same answer.
|
| */ |
| this.capabilities_ = null; |
| @@ -294,7 +294,7 @@ cr.define('print_preview', function() { |
| return this.cloudID_; |
| }, |
| - /** @return {print_preview.Cdd} Print capabilities of the destination. */ |
| + /** @return {?print_preview.Cdd} Print capabilities of the destination. */ |
| get capabilities() { |
| return this.capabilities_; |
| }, |