|
Refactor the URLResponseInfo to use new design
This puts all of the URLResponseInfo attributes in a struct so it can be sent over IPC in one message rather than requiring one sync IPC per attribute access.
This includes a new example of streaming to a file that I used to do some manual tests of this change.
I added and improved some documentation that I noticed when trying to write the example.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=168273
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+529 lines, -474 lines) |
Patch |
 |
M |
content/renderer/pepper/pepper_in_process_resource_creation.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_in_process_resource_creation.cc
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/api/ppb_file_io.idl
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/c/ppb_file_io.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/file_io.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+37 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
ppapi/examples/url_loader/stream_to_file.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+44 lines, -51 lines |
0 comments
|
Download
|
 |
M |
ppapi/examples/url_loader/streaming.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_proxy.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_shared.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/interface_list.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_messages.h
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+13 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_url_loader_proxy.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_url_loader_proxy.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+29 lines, -11 lines |
0 comments
|
Download
|
 |
D |
ppapi/proxy/ppb_url_response_info_proxy.h
|
View
|
|
1 chunk |
+0 lines, -55 lines |
0 comments
|
Download
|
 |
D |
ppapi/proxy/ppb_url_response_info_proxy.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -132 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/resource_creation_proxy.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/resource_creation_proxy.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/proxy/url_response_info_resource.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/proxy/url_response_info_resource.cc
|
View
|
1
2
3
4
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/shared_impl/url_response_info_data.h
|
View
|
1
2
3
4
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ppapi/shared_impl/url_response_info_data.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/interfaces_ppb_public_stable.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_url_loader_api.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_url_response_info_api.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/resource_creation_api.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webkit_glue.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_url_loader_impl.h
|
View
|
1
2
3
4
|
6 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_url_loader_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+42 lines, -9 lines |
0 comments
|
Download
|
 |
D |
webkit/plugins/ppapi/ppb_url_response_info_impl.h
|
View
|
1
|
1 chunk |
+0 lines, -58 lines |
0 comments
|
Download
|
 |
D |
webkit/plugins/ppapi/ppb_url_response_info_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -118 lines |
0 comments
|
Download
|
 |
A |
webkit/plugins/ppapi/url_response_info_util.h
|
View
|
1
2
3
4
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
webkit/plugins/ppapi/url_response_info_util.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|