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

Unified Diff: chrome/browser/resources/print_preview/data/local_parsers.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/local_parsers.js
diff --git a/chrome/browser/resources/print_preview/data/local_parsers.js b/chrome/browser/resources/print_preview/data/local_parsers.js
index 8e02b190226f160aaeb6010d5eb6fa5682c4bd6d..14ac04bd06ee2a49ecd326762a2293960239364f 100644
--- a/chrome/browser/resources/print_preview/data/local_parsers.js
+++ b/chrome/browser/resources/print_preview/data/local_parsers.js
@@ -15,7 +15,8 @@ cr.define('print_preview', function() {
* @return {!print_preview.Destination} Parsed local print destination.
*/
LocalDestinationParser.parse = function(destinationInfo) {
- var options = {'description': destinationInfo.printerDescription};
+ var options = {description: destinationInfo.printerDescription,
+ isEnterprisePrinter: destinationInfo.cupsEnterprisePrinter};
if (destinationInfo.printerOptions) {
// Convert options into cloud print tags format.
options.tags = Object.keys(destinationInfo.printerOptions).map(

Powered by Google App Engine
This is Rietveld 408576698