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

Unified Diff: chrome/browser/printing/print_system_task_proxy.cc

Issue 8665001: Print preview: Do a bit more logging when enumerating printers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_system_task_proxy.cc
===================================================================
--- chrome/browser/printing/print_system_task_proxy.cc (revision 111205)
+++ chrome/browser/printing/print_system_task_proxy.cc (working copy)
@@ -331,7 +331,7 @@
*PrintPreviewHandler::last_used_printer_name_);
}
VLOG(1) << "Get default printer finished, found: "
- << default_printer;
+ << *default_printer;
std::string* cloud_print_data = NULL;
if (PrintPreviewHandler::last_used_printer_cloud_print_data_ != NULL) {
@@ -379,6 +379,8 @@
#endif
printer_info->SetString(printing::kSettingPrinterName, printerName);
printer_info->SetString(printing::kSettingDeviceName, iter->printer_name);
+ VLOG(1) << "Found printer " << printerName
+ << " with device name " << iter->printer_name;
printers->Append(printer_info);
}
VLOG(1) << "Enumerate printers finished, found " << i << " printers";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698