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

Unified Diff: components/crash/content/app/breakpad_linux.cc

Issue 2960883002: Add installer_package_name and ABI to crash report (Closed)
Patch Set: fix style Created 3 years, 6 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 | « base/android/java/src/org/chromium/base/BuildInfo.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/content/app/breakpad_linux.cc
diff --git a/components/crash/content/app/breakpad_linux.cc b/components/crash/content/app/breakpad_linux.cc
index 0d3de65043a0b66fc1d3bc8fee578ae13179f611..0207331b49a8db31c35fa32554832743239725de 100644
--- a/components/crash/content/app/breakpad_linux.cc
+++ b/components/crash/content/app/breakpad_linux.cc
@@ -1715,6 +1715,8 @@ void HandleCrashDump(const BreakpadInfo& info) {
static const char android_build_fp[] = "android_build_fp";
static const char device[] = "device";
static const char gms_core_version[] = "gms_core_version";
+ static const char installer_package_name[] = "installer_package_name";
+ static const char abi_name[] = "abi_name";
static const char model[] = "model";
static const char brand[] = "brand";
static const char exception_info[] = "exception_info";
@@ -1736,6 +1738,11 @@ void HandleCrashDump(const BreakpadInfo& info) {
writer.AddPairString(gms_core_version,
android_build_info->gms_version_code());
writer.AddBoundary();
+ writer.AddPairString(installer_package_name,
+ android_build_info->installer_package_name());
+ writer.AddBoundary();
+ writer.AddPairString(abi_name, android_build_info->abi_name());
+ writer.AddBoundary();
WriteAndroidPackage(writer, android_build_info);
writer.AddBoundary();
if (android_build_info->java_exception_info() != nullptr) {
« no previous file with comments | « base/android/java/src/org/chromium/base/BuildInfo.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698