Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2531)

Unified Diff: chrome/browser/resources/print_preview/data/destination.js

Issue 588713002: Compile print_preview, part 3: reduce down to 185 errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@I_print_preview_2
Patch Set: fix assert Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 3b803a6cd165acfdbb9e1053a24150070a43c1c8..4bbaeb12f2853cb6a7a66c2dde5545f02ed5c338 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}
*/
this.capabilities_ = null;
@@ -339,7 +339,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_;
},

Powered by Google App Engine
This is Rietveld 408576698