[Android WebView] Ensure we have user consent before uploading minidumps

WebView won't upload minidumps unless the Android Checkbox is toggled
on (or the enabled-for-testing command-line flag is toggled on and we
are using a debuggable device).
With this CL we check the Checkbox value (in the app process) just
before copying minidumps to the separate minidump uploading service. If
we do not have user consent the minidumps are deleted.

BUG=657314
BUG=679693
BUG=683882

Review-Url: https://codereview.chromium.org/2628863004
Cr-Original-Commit-Position: refs/heads/master@{#446432}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 672f4a2e91db3968619c5b46d6c466270584fdb6
1 file changed
tree: aa86a7b2bc896bbf1c1dd364a82f4820079b5f11
  1. java/
  2. BUILD.gn
  3. generate_resource_rewriter.gni
  4. glue.gni