diff options
author | xunjieli <xunjieli@chromium.org> | 2015-04-16 20:49:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-17 03:49:43 +0000 |
commit | 950576043d18caee3fc8bb28dfc432c3d6adcbda (patch) | |
tree | 250fd4d82851443d0484287d70a4e2c2c6341d25 /chrome/browser/sync/sync_ui_util_unittest.cc | |
parent | d2c42f584723689354b1874bdfaefb098f9ea70d (diff) | |
download | chromium_src-950576043d18caee3fc8bb28dfc432c3d6adcbda.zip chromium_src-950576043d18caee3fc8bb28dfc432c3d6adcbda.tar.gz chromium_src-950576043d18caee3fc8bb28dfc432c3d6adcbda.tar.bz2 |
[Cronet] Implement getOutputStream in CronetHttpURLConnection
Implement post data with and without
setFixedLengthStreamingMode.
If setFixedLengthStreamMode is not set, we buffer whole
request body in memory. This is achieved by using
CronetBufferedOutputStream. Otherwise, we do not buffer
everything, and use CronetOutputStream.
Chunked mode is not yet supported, and will be added in a
follow-up CL, since this CL is already quite big for
reviewing.
BUG=398997
Review URL: https://codereview.chromium.org/966743003
Cr-Commit-Position: refs/heads/master@{#325593}
Diffstat (limited to 'chrome/browser/sync/sync_ui_util_unittest.cc')
0 files changed, 0 insertions, 0 deletions