android: Limit bindToCaller check to webview

There is evidence the BindToCaller check is causing to GPU hangs
although not sure about the exact mechanism. This change guards the
BindToCaller check behind a new setting in ChildProcessCreationParams
and then only enable it in webview.

Note also moved a few lines out of lock protection in
ChildProcessServiceImpl setupConnection.

This is intended to be merged back to m58.

BUG=690118

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


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