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

Bug: 925225
Change-Id: Ia6aece5b6fbbfc65db0b71f665fb3f4ff2390c92
Commit-Queue: Yutaka Hirano <>
Commit-Queue: Matt Falkenhagen <>
Auto-Submit: Yutaka Hirano <>
Reviewed-by: Matt Falkenhagen <>
Cr-Commit-Position: refs/heads/master@{#626032}
2 files changed