Chromecast: adds crash handling for Android build.
commit168c44ce90012516dcfa91ac80a6d0a200513531
authorgunsch <gunsch@chromium.org>
Thu, 9 Oct 2014 04:37:06 +0000 (8 21:37 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Oct 2014 04:37:32 +0000 (9 04:37 +0000)
tree52b91d2ca80fdd9c7e2e858928a69505d456a4e9
parentfbba679b43d6df314321543541dfce39789593b4
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

Review URL: https://codereview.chromium.org/620673003

Cr-Commit-Position: refs/heads/master@{#298767}
21 files changed:
chromecast/android/DEPS
chromecast/android/cast_jni_registrar.cc
chromecast/android/chromecast_config_android.h
chromecast/android/chromecast_config_android_stub.cc [new file with mode: 0644]
chromecast/chromecast.gyp
chromecast/common/global_descriptors.h
chromecast/crash/DEPS [new file with mode: 0644]
chromecast/crash/android/DEPS [new file with mode: 0644]
chromecast/crash/android/cast_crash_reporter_client_android.cc [new file with mode: 0644]
chromecast/crash/android/cast_crash_reporter_client_android.h [new file with mode: 0644]
chromecast/crash/android/crash_handler.cc [new file with mode: 0644]
chromecast/crash/android/crash_handler.h [new file with mode: 0644]
chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastCrashHandler.java [new file with mode: 0644]
chromecast/shell/android/apk/src/org/chromium/chromecast/shell/CastCrashUploader.java [new file with mode: 0644]
chromecast/shell/app/DEPS
chromecast/shell/app/cast_main_delegate.cc
chromecast/shell/browser/DEPS
chromecast/shell/browser/cast_browser_main_parts.cc
chromecast/shell/browser/cast_browser_process.cc
chromecast/shell/browser/cast_browser_process.h
chromecast/shell/browser/cast_content_browser_client.cc