|
|
Convert url request info to new proxy API.
This splits out the helper functions in the in-process version to a new file: url_request_info_util. This will be moved to content/renderer when we move the url_loader.
The unit test was moved from webkit/plugins/ppapi to content/renderer/ppapi. I made it a browsertest which allowed the removal of a little boilerplate.
I had to add "internal" functions for loading stuff with just the data struct rather than a resource so the proxy doesn't have to create an in-process URLRequestInfo resource (which can't be created now when running out-of-process) just to create a request. This should be a little more efficient now anyway, and these duplicates will go away when such code moves to the new proxy design.
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=157588
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+476 lines, -1308 lines) |
Patch |
 |
M |
content/content_tests.gypi
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_in_process_resource_creation.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_in_process_resource_creation.cc
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
content/renderer/pepper/pepper_url_request_unittest.cc
|
View
|
1
|
5 chunks |
+46 lines, -41 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_proxy.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_shared.gypi
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_messages.h
|
View
|
1
2
3
4
5
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_flash_proxy.h
|
View
|
1
2
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_flash_proxy.cc
|
View
|
1
2
|
3 chunks |
+10 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_url_loader_proxy.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_url_loader_proxy.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/resource_creation_proxy.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/resource_creation_proxy.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A |
ppapi/proxy/url_request_info_resource.h
|
View
|
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ppapi/proxy/url_request_info_resource.cc
|
View
|
|
8 chunks |
+23 lines, -84 lines |
0 comments
|
Download
|
 |
D |
ppapi/shared_impl/ppb_url_request_info_shared.h
|
View
|
|
1 chunk |
+0 lines, -136 lines |
0 comments
|
Download
|
 |
D |
ppapi/shared_impl/ppb_url_request_info_shared.cc
|
View
|
|
1 chunk |
+0 lines, -276 lines |
0 comments
|
Download
|
 |
A + |
ppapi/shared_impl/url_request_info_data.h
|
View
|
|
3 chunks |
+13 lines, -52 lines |
0 comments
|
Download
|
 |
A |
ppapi/shared_impl/url_request_info_data.cc
|
View
|
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_flash_api.h
|
View
|
1
2
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_url_loader_api.h
|
View
|
1
2
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_url_request_info_api.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_url_request_info_thunk.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/resource_creation_api.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webkit_glue.gypi
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppapi_plugin_instance.h
|
View
|
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_flash_impl.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_flash_impl.cc
|
View
|
1
2
|
3 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_url_loader_impl.h
|
View
|
1
2
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_url_loader_impl.cc
|
View
|
1
2
3
4
|
6 chunks |
+22 lines, -15 lines |
0 comments
|
Download
|
 |
D |
webkit/plugins/ppapi/ppb_url_request_info_impl.h
|
View
|
|
1 chunk |
+0 lines, -61 lines |
0 comments
|
Download
|
 |
D |
webkit/plugins/ppapi/ppb_url_request_info_impl.cc
|
View
|
|
1 chunk |
+0 lines, -208 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/resource_creation_impl.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/resource_creation_impl.cc
|
View
|
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
D |
webkit/plugins/ppapi/url_request_info_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -259 lines |
0 comments
|
Download
|
 |
A |
webkit/plugins/ppapi/url_request_info_util.h
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
webkit/plugins/ppapi/url_request_info_util.cc
|
View
|
|
5 chunks |
+101 lines, -102 lines |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/test_shell.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|