android: Add debug url to throw uncaught exception

Currently there are no crash handlers for uncaught java exceptions
in child processes. Add a chrome debug url to crash the GPU process
with an uncaught java exception to aid in testing this code path.

The plumbing is same as chrome://gpucrash, except everything is
behind OS_ANDROID guards. The actual implementation of throwing
the exception is in base.

BUG=680775
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2664373002
Cr-Commit-Position: refs/heads/master@{#447908}


CrOS-Libchrome-Original-Commit: 7a81c252f5f9cf8981f5df770a5acbb8d736eb6e
3 files changed
tree: c0989c0500f79cd6cfda721b20ce3e3661c74ef5
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/