| Index: chrome/app/breakpad_linux.cc
|
| diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc
|
| index 4ab5f486504e15c3001c433402a0a68f100e648d..eff3a12bea23760acdad75459bb69b2abd0f891a 100644
|
| --- a/chrome/app/breakpad_linux.cc
|
| +++ b/chrome/app/breakpad_linux.cc
|
| @@ -574,6 +574,19 @@ void HandleCrashDump(const BreakpadInfo& info) {
|
| false /* Don't strip whitespace. */);
|
| }
|
|
|
| + unsigned printer_info_len =
|
| + my_strlen(child_process_logging::g_printer_info);
|
| + if (printer_info_len) {
|
| + static const char printer_info_msg[] = "prn-info-";
|
| + static const unsigned kMaxPrnInfoLen =
|
| + kMaxReportedPrinterRecords * child_process_logging::kPrinterInfoStrLen;
|
| + writer.AddPairDataInChunks(printer_info_msg, sizeof(printer_info_msg) - 1,
|
| + child_process_logging::g_printer_info,
|
| + std::min(printer_info_len, kMaxPrnInfoLen),
|
| + child_process_logging::kPrinterInfoStrLen,
|
| + true);
|
| + }
|
| +
|
| if (my_strlen(child_process_logging::g_num_switches)) {
|
| writer.AddPairString("num-switches",
|
| child_process_logging::g_num_switches);
|
|
|