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

Issue 2330573002: Show crash report size in crashes UI for Android. (Closed)

Created:
4 years, 3 months ago by gayane -on leave until 09-2017
Modified:
4 years, 3 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show crash report size in crashes UI for Android. As on Android manual crash uploads can happen on cellular connection it is important to display the size of the crash reports. BUG=641628 Committed: https://crrev.com/cc7d54eab860b6c17661ae641a6024514a511f0e Cr-Commit-Position: refs/heads/master@{#418590}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Always show file size for Android #

Total comments: 1

Patch Set 3 : Use file size formatting #

Patch Set 4 : Add a copy constructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -17 lines) Patch
M chrome/browser/crash_upload_list/crash_upload_list_android.cc View 1 2 3 chunks +8 lines, -3 lines 0 comments Download
M components/crash/core/browser/crashes_ui_util.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M components/crash/core/browser/resources/crashes.js View 2 chunks +21 lines, -14 lines 0 comments Download
M components/crash_strings.grdp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M components/upload_list/upload_list.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M components/upload_list/upload_list.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
gayane -on leave until 09-2017
PTAL
4 years, 3 months ago (2016-09-09 21:31:48 UTC) #4
Mark Mentovai
We should do this for all platforms, not just Android. https://codereview.chromium.org/2330573002/diff/1/components/crash/core/browser/crashes_ui_util.cc File components/crash/core/browser/crashes_ui_util.cc (right): https://codereview.chromium.org/2330573002/diff/1/components/crash/core/browser/crashes_ui_util.cc#newcode81 ...
4 years, 3 months ago (2016-09-13 16:13:25 UTC) #5
gayane -on leave until 09-2017
Thanks. PTAL https://codereview.chromium.org/2330573002/diff/1/components/crash/core/browser/crashes_ui_util.cc File components/crash/core/browser/crashes_ui_util.cc (right): https://codereview.chromium.org/2330573002/diff/1/components/crash/core/browser/crashes_ui_util.cc#newcode81 components/crash/core/browser/crashes_ui_util.cc:81: crash->SetString("file_size", info.file_size == 0 On 2016/09/13 16:13:25, ...
4 years, 3 months ago (2016-09-13 17:40:23 UTC) #7
gayane -on leave until 09-2017
> We should do this for all platforms, not just Android. Agree, we can do ...
4 years, 3 months ago (2016-09-13 17:42:16 UTC) #8
Mark Mentovai
https://codereview.chromium.org/2330573002/diff/1/components/crash_strings.grdp File components/crash_strings.grdp (right): https://codereview.chromium.org/2330573002/diff/1/components/crash_strings.grdp#newcode44 components/crash_strings.grdp:44: Crash report is <ph name="CRASH_SIZE">$1<ex>10KB</ex></ph>KB. gayane wrote: > On ...
4 years, 3 months ago (2016-09-13 18:21:17 UTC) #9
gayane -on leave until 09-2017
Thanks for the pointer for file size formatting. Changed to use that.
4 years, 3 months ago (2016-09-13 20:48:35 UTC) #10
Mark Mentovai
Great! LGTM
4 years, 3 months ago (2016-09-13 21:05:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2330573002/60001
4 years, 3 months ago (2016-09-13 21:10:16 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/68433)
4 years, 3 months ago (2016-09-13 21:23:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2330573002/80001
4 years, 3 months ago (2016-09-14 16:49:02 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 3 months ago (2016-09-14 16:54:10 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 16:56:07 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cc7d54eab860b6c17661ae641a6024514a511f0e
Cr-Commit-Position: refs/heads/master@{#418590}

Powered by Google App Engine
This is Rietveld 408576698