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

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

Issue 2618313004: [CUPS] Implement the enterprise icon for printers in Print Preview Dialog. (Closed)
Patch Set: Address dpapad@'s comments. Created 3 years, 11 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_store.js
diff --git a/chrome/browser/resources/print_preview/data/destination_store.js b/chrome/browser/resources/print_preview/data/destination_store.js
index ba8f6fc65f3cb922ae16904a4360b4373c7d00e9..548a437af10a1f7332fb8a68a99863da557dd89d 100644
--- a/chrome/browser/resources/print_preview/data/destination_store.js
+++ b/chrome/browser/resources/print_preview/data/destination_store.js
@@ -1602,9 +1602,11 @@ cr.define('print_preview', function() {
}
destination.capabilities = capabilities;
} else {
+ var isEnterprisePrinter = event.settingsInfo['cupsEnterprisePrinter'];
destination = print_preview.LocalDestinationParser.parse(
{deviceName: destinationId,
printerName: printerName,
+ cupsEnterprisePrinter: isEnterprisePrinter,
printerDescription: printerDescription});
destination.capabilities = capabilities;
this.insertDestination_(destination);

Powered by Google App Engine
This is Rietveld 408576698