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

Unified Diff: chrome/browser/resources/print_preview/native_layer.js

Issue 574193002: Compile print_preview, part 1: remove all warnings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@true_master
Patch Set: rebase 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/native_layer.js
diff --git a/chrome/browser/resources/print_preview/native_layer.js b/chrome/browser/resources/print_preview/native_layer.js
index 5da08fce2ab3f8d746651e04580e86e543e623ca..ffb554db41ecf7c7eb951d43ffb7be727b7dbbe5 100644
--- a/chrome/browser/resources/print_preview/native_layer.js
+++ b/chrome/browser/resources/print_preview/native_layer.js
@@ -200,7 +200,7 @@ cr.define('print_preview', function() {
* @param {!print_preview.PrintTicketStore} printTicketStore Used to get the
* state of the print ticket.
* @param {!print_preview.DocumentInfo} documentInfo Document data model.
- * @param {number} ID of the preview request.
+ * @param {number} requestId ID of the preview request.
*/
startGetPreview: function(
destination, printTicketStore, documentInfo, requestId) {
@@ -435,7 +435,8 @@ cr.define('print_preview', function() {
/**
* Turn on the integration of Cloud Print.
- * @param {string} cloudPrintURL The URL to use for cloud print servers.
+ * @param {{cloudPrintURL: string, appKioskMode: string}} settings
+ * cloudPrintUrl: The URL to use for cloud print servers.
* @private
*/
onSetUseCloudPrint_: function(settings) {
@@ -474,7 +475,7 @@ cr.define('print_preview', function() {
/**
* Called when native layer gets settings information for a requested local
* destination.
- * @param {string} printerId printer affected by error.
+ * @param {string} destinationId Printer affected by error.
* @private
*/
onFailedToGetPrinterCapabilities_: function(destinationId) {
@@ -489,7 +490,7 @@ cr.define('print_preview', function() {
/**
* Called when native layer gets settings information for a requested privet
* destination.
- * @param {string} printerId printer affected by error.
+ * @param {string} destinationId Printer affected by error.
* @private
*/
onFailedToGetPrivetPrinterCapabilities_: function(destinationId) {

Powered by Google App Engine
This is Rietveld 408576698