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

Issue 620673003: Chromecast: adds crash handling for Android build. (Closed)

Created:
6 years, 2 months ago by gunsch
Modified:
6 years, 2 months ago
Reviewers:
Lei Zhang, byungchul
CC:
chromium-reviews, kalyank, lcwu+watch_chromium.org, sadrul, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Chromecast: adds crash handling for Android build. Cast for Android TV behavior includes the following: * On crash, immediately attempt to upload crash dump + logs from current process, then delete the dump file. * On startup, attempt to upload any crash dump files that are still left on the device. R=thestig@chromium.org,byungchul@chromium.org BUG=400876 Committed: https://crrev.com/168c44ce90012516dcfa91ac80a6d0a200513531 Cr-Commit-Position: refs/heads/master@{#298767}

Patch Set 1 #

Patch Set 2 : style nits #

Total comments: 30

Patch Set 3 : rebase #

Patch Set 4 : address lei's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+670 lines, -7 lines) Patch
M chromecast/android/DEPS View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chromecast/android/cast_jni_registrar.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chromecast/android/chromecast_config_android.h View 1 chunk +4 lines, -0 lines 0 comments Download
A + chromecast/android/chromecast_config_android_stub.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M chromecast/chromecast.gyp View 1 2 3 chunks +12 lines, -0 lines 0 comments Download
M chromecast/common/global_descriptors.h View 1 chunk +1 line, -0 lines 0 comments Download
A + chromecast/crash/DEPS View 1 chunk +1 line, -1 line 0 comments Download
A + chromecast/crash/android/DEPS View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A chromecast/crash/android/cast_crash_reporter_client_android.h View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download
A chromecast/crash/android/cast_crash_reporter_client_android.cc View 1 2 3 1 chunk +72 lines, -0 lines 0 comments Download
A chromecast/crash/android/crash_handler.h View 1 2 3 1 chunk +72 lines, -0 lines 0 comments Download
A chromecast/crash/android/crash_handler.cc View 1 2 3 1 chunk +145 lines, -0 lines 0 comments Download
A chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastCrashHandler.java View 1 chunk +32 lines, -0 lines 0 comments Download
A chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastCrashUploader.java View 1 chunk +223 lines, -0 lines 0 comments Download
M chromecast/shell/app/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chromecast/shell/app/cast_main_delegate.cc View 3 chunks +15 lines, -0 lines 0 comments Download
M chromecast/shell/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chromecast/shell/browser/cast_browser_main_parts.cc View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M chromecast/shell/browser/cast_browser_process.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M chromecast/shell/browser/cast_browser_process.cc View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M chromecast/shell/browser/cast_content_browser_client.cc View 1 2 3 3 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
gunsch
6 years, 2 months ago (2014-09-30 21:31:48 UTC) #1
gunsch
FYI: * Byungchul to review; already reviewed internally, just reworking for TOT. Largest change is ...
6 years, 2 months ago (2014-09-30 21:33:21 UTC) #2
byungchul
Enable breakpad for android first?
6 years, 2 months ago (2014-09-30 21:51:27 UTC) #3
gunsch
On 2014/09/30 21:51:27, byungchul wrote: > Enable breakpad for android first? Yes, is that a ...
6 years, 2 months ago (2014-09-30 22:00:23 UTC) #4
byungchul
lgtm
6 years, 2 months ago (2014-09-30 22:46:43 UTC) #5
Lei Zhang
I didn't review the Java code. https://codereview.chromium.org/620673003/diff/20001/chromecast/crash/android/cast_crash_reporter_client_android.cc File chromecast/crash/android/cast_crash_reporter_client_android.cc (right): https://codereview.chromium.org/620673003/diff/20001/chromecast/crash/android/cast_crash_reporter_client_android.cc#newcode8 chromecast/crash/android/cast_crash_reporter_client_android.cc:8: #include "base/command_line.h" nit: ...
6 years, 2 months ago (2014-10-06 22:44:25 UTC) #6
Lei Zhang
BTW, https://codereview.chromium.org/633833002/ conflicts slightly.
6 years, 2 months ago (2014-10-07 18:57:14 UTC) #7
gunsch
Lei: thanks for the thorough review. PTAL. I rebased past https://codereview.chromium.org/633833002/ in patch set 3, ...
6 years, 2 months ago (2014-10-09 00:20:56 UTC) #8
Lei Zhang
lgtm
6 years, 2 months ago (2014-10-09 00:26:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/620673003/60001
6 years, 2 months ago (2014-10-09 00:38:04 UTC) #11
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 2 months ago (2014-10-09 03:50:14 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/620673003/60001
6 years, 2 months ago (2014-10-09 03:53:07 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 8b52df73f4536866a1835ba485f3e1553fba8219
6 years, 2 months ago (2014-10-09 04:37:14 UTC) #16
commit-bot: I haz the power
6 years, 2 months ago (2014-10-09 04:38:15 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/168c44ce90012516dcfa91ac80a6d0a200513531
Cr-Commit-Position: refs/heads/master@{#298767}

Powered by Google App Engine
This is Rietveld 408576698