Support teeing form data in BytesConsumerTee.

This fixes a bug when a subresource request with a body that
is not a blob goes through a service worker. The body was being
dropped because BytesConsumerTee wasn't properly making the
bytes consumer for it.

It seems like this code path only gets taken NetworkService is
enabled.

Bug: 925225
Change-Id: Ia6aece5b6fbbfc65db0b71f665fb3f4ff2390c92
Reviewed-on: https://chromium-review.googlesource.com/c/1436470
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Auto-Submit: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626032}
2 files changed