|
|
net: Make UploadDataStream::Init() asynchronous.
Rename the existing synchronous version to InitSync() and add a new asynchronous version, Init().
However, the new asynchronous version is not used yet.
The existing code is changed to use the synchronous version.
ScopedAllowIO used in UploadData::Element::ResetOffset() is removed since it is always called on an IO allowed thread.
BUG= 72001, 113669
TEST=net_unittests
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+133 lines, -64 lines) |
Patch |
 |
M |
chrome_frame/urlmon_upload_data_stream.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/base/upload_data.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
2 comments
|
Download
|
 |
M |
net/base/upload_data_stream.h
|
View
|
|
4 chunks |
+28 lines, -7 lines |
0 comments
|
Download
|
 |
M |
net/base/upload_data_stream.cc
|
View
|
|
3 chunks |
+81 lines, -31 lines |
3 comments
|
Download
|
 |
M |
net/base/upload_data_stream_unittest.cc
|
View
|
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_transaction.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/http/http_stream_parser_unittest.cc
|
View
|
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_http_stream_spdy2_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_http_stream_spdy3_unittest.cc
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_network_transaction_spdy2_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_network_transaction_spdy3_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|