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

Unified Diff: chrome/app/breakpad_linux.cc

Issue 23604061: Set the printer info in crash reports using the crash key logging system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix memory issue Created 7 years, 3 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
« no previous file with comments | « no previous file | chrome/app/breakpad_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/breakpad_linux.cc
diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc
index 32c23baefa33d80bdda1c7256c04690d2d88cbe7..e8ae81bba34a6ee2c7bb6eb431af8639d2e271b1 100644
--- a/chrome/app/breakpad_linux.cc
+++ b/chrome/app/breakpad_linux.cc
@@ -1157,11 +1157,6 @@ void HandleCrashDump(const BreakpadInfo& info) {
// abcdef \r\n
// BOUNDARY \r\n
//
- // zero to 4:
- // Content-Disposition: form-data; name="prn-info-1" \r\n \r\n
- // abcdefghijklmnopqrstuvwxyzabcdef \r\n
- // BOUNDARY \r\n
- //
// zero or one:
// Content-Disposition: form-data; name="num-switches" \r\n \r\n
// 5 \r\n
@@ -1279,19 +1274,6 @@ void HandleCrashDump(const BreakpadInfo& info) {
writer.Flush();
}
- 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 (*child_process_logging::g_num_switches) {
writer.AddPairString("num-switches",
child_process_logging::g_num_switches);
« no previous file with comments | « no previous file | chrome/app/breakpad_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698