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;
}
}
- 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);
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.