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

Unified Diff: components/crash/core/browser/crashes_ui_util.cc

Issue 2330573002: Show crash report size in crashes UI for Android. (Closed)
Patch Set: Add a copy constructor Created 4 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
Index: components/crash/core/browser/crashes_ui_util.cc
diff --git a/components/crash/core/browser/crashes_ui_util.cc b/components/crash/core/browser/crashes_ui_util.cc
index fa459cc69df420ded9158b57dc92f9026caeaf51..c83361c0de9fac0a99d21bc0f72af315a6819a7e 100644
--- a/components/crash/core/browser/crashes_ui_util.cc
+++ b/components/crash/core/browser/crashes_ui_util.cc
@@ -32,6 +32,7 @@ const CrashesUILocalizedString kCrashesUILocalizedStrings[] = {
{"noCrashesMessage", IDS_CRASH_NO_CRASHES_MESSAGE},
{"uploadCrashesLinkText", IDS_CRASH_UPLOAD_MESSAGE},
{"uploadNowLinkText", IDS_CRASH_UPLOAD_NOW_LINK_TEXT},
+ {"crashSizeMessage", IDS_CRASH_SIZE_MESSAGE},
};
const size_t kCrashesUILocalizedStringsCount =
@@ -76,6 +77,7 @@ void UploadListToValue(UploadList* upload_list, base::ListValue* out_value) {
}
crash->SetString("local_id", info.local_id);
crash->SetString("state", UploadInfoStateAsString(info.state));
+ crash->SetString("file_size", info.file_size);
out_value->Append(std::move(crash));
}
}
« no previous file with comments | « chrome/browser/crash_upload_list/crash_upload_list_android.cc ('k') | components/crash/core/browser/resources/crashes.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698