|
net: Make UploadDataStream::Read() asynchronous
Rename existing Read() to ReadSync()
Change type of |buf| from char* to scoped_refptr<IOBuffer> so that async operation is always performed safely
Add an asynchronous implementation, Read()
The newly added Read() is not used yet, all users still use the old version ReadSync()
BUG= 72001
TEST=net_unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162343
Total comments: 10
Total comments: 14
Total comments: 10
Total comments: 32
Total comments: 22
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+525 lines, -190 lines) |
Patch |
 |
M |
chrome_frame/urlmon_upload_data_stream.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/base/upload_bytes_element_reader.h
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/base/upload_bytes_element_reader.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+14 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/base/upload_bytes_element_reader_unittest.cc
|
View
|
|
3 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/base/upload_data.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/base/upload_data_stream.h
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+30 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/base/upload_data_stream.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+71 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/base/upload_data_stream_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
14 chunks |
+185 lines, -91 lines |
0 comments
|
Download
|
 |
M |
net/base/upload_element_reader.h
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/base/upload_element_reader.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/base/upload_file_element_reader.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+11 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/base/upload_file_element_reader.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+93 lines, -49 lines |
0 comments
|
Download
|
 |
M |
net/base/upload_file_element_reader_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+73 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_parser.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_parser.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_http_stream.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/url_request/url_request.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|