summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_linux.cc
diff options
context:
space:
mode:
authormarkusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 10:14:21 +0000
committermarkusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 10:14:21 +0000
commita97a27e5977c934d687156ff7a3d8eb0ddcce059 (patch)
tree9e4d40c14147a480abc7edd81dcd797460980629 /chrome/app/breakpad_linux.cc
parent7d59f908a82b9569e82eced3b39fe45fa7d99363 (diff)
downloadchromium_src-a97a27e5977c934d687156ff7a3d8eb0ddcce059.zip
chromium_src-a97a27e5977c934d687156ff7a3d8eb0ddcce059.tar.gz
chromium_src-a97a27e5977c934d687156ff7a3d8eb0ddcce059.tar.bz2
Revert 126866 - Added SetPrinterInfo to include information about printer driver. This information will be added by Chrome (in different CL) just before performing error-prone printer related operations.
BUG=108194 TEST=none Review URL: http://codereview.chromium.org/9600060 TBR=vitalybuka@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126878 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_linux.cc')
-rw-r--r--chrome/app/breakpad_linux.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc
index eff3a12..4ab5f48 100644
--- a/chrome/app/breakpad_linux.cc
+++ b/chrome/app/breakpad_linux.cc
@@ -574,19 +574,6 @@ 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);