Chromium Code Reviews
Descriptionnet: Move data reading functionalities from UploadElement to UploadElementReader
Add a new interface net::UploadElementReader and its implementations for bytes and file.
Rewrite UploadDataStream using UploadElementReader.
UploadElement::SetContentLength is replaced with UploadFileElementReader::ScopedOverridingContentLengthForTests.
HttpNetworkTransactionSpdy(2|3)Test.UnreadableUploadFileAfterAuthRestart is bit modified since a new FileStream is created every time when UploadDataStream is initialized.
BUG=145329
TEST=net_unittests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156113
Patch Set 1 : _ #
Total comments: 4
Patch Set 2 : Fix win build, introduce UploadElementReader::Create #Patch Set 3 : rebase #
Total comments: 2
Patch Set 4 : rebase #
Total comments: 16
Patch Set 5 : Split upload_element_reader.cc into three files #
Total comments: 12
Patch Set 6 : Review fix #Patch Set 7 : rebase #Patch Set 8 : rebase #
Messages
Total messages: 17 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||