linux: No need of |ptype| parameter.
This commit is contained in:
parent
b1f9c4dfc5
commit
ce6f9f20bf
3 changed files with 0 additions and 10 deletions
|
@ -157,8 +157,6 @@ bool CrashReporterLinux::CrashDone(const MinidumpDescriptor& minidump,
|
|||
info.log_filename = log_path;
|
||||
#endif
|
||||
// TODO(zcbenz): Set the correct process_type here.
|
||||
info.process_type = "browser";
|
||||
info.process_type_length = 7;
|
||||
info.distro = base::g_linux_distro;
|
||||
info.distro_length = my_strlen(base::g_linux_distro);
|
||||
info.upload = true;
|
||||
|
|
|
@ -552,12 +552,6 @@ void HandleCrashDump(const BreakpadInfo& info) {
|
|||
}
|
||||
}
|
||||
|
||||
if (info.process_type_length) {
|
||||
writer.AddPairString("ptype", info.process_type);
|
||||
writer.AddBoundary();
|
||||
writer.Flush();
|
||||
}
|
||||
|
||||
if (info.distro_length) {
|
||||
static const char distro_msg[] = "lsb-release";
|
||||
writer.AddPairString(distro_msg, info.distro);
|
||||
|
|
|
@ -24,8 +24,6 @@ struct BreakpadInfo {
|
|||
const char* asan_report_str; // ASan report.
|
||||
unsigned asan_report_length; // Length of |asan_report_length|.
|
||||
#endif
|
||||
const char* process_type; // Process type, e.g. "renderer".
|
||||
unsigned process_type_length; // Length of |process_type|.
|
||||
const char* distro; // Linux distro string.
|
||||
unsigned distro_length; // Length of |distro|.
|
||||
bool upload; // Whether to upload or save crash dump.
|
||||
|
|
Loading…
Reference in a new issue