[android_webview] Read InputStreams in chunks.
commit681739f982a5e4fb720959a5ffb44980253106dc
authormkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 5 Dec 2012 14:59:58 +0000 (5 14:59 +0000)
committermkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 5 Dec 2012 14:59:58 +0000 (5 14:59 +0000)
tree537a48664a56c27dc005c1b2203fcf3dcc539c84
parenteb344c8a4beadf5ea388bdd55abc645161c84a7d
[android_webview] Read InputStreams in chunks.

This causes the intercepted requests to be streamed to the renderer
instead of waiting for the entire resource to be loaded.

BUG=None
TESTS=AndroidWebViewTest,android_webview_unittests

Review URL: https://chromiumcodereview.appspot.com/11412327

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171222 0039d316-1c4b-4281-b951-d872f2087c98
android_webview/browser/input_stream.h
android_webview/native/input_stream_impl.cc
android_webview/native/input_stream_unittest.cc