|
PPAPI: Refactor renderer side of browser host creation
This is split off from a larger CL: https://codereview.chromium.org/605593002/
This part does a few things:
- Introduce CompletedBrowserResourceHosts serialized struct. This associates the sequence number with the vector of host IDs, and makes it a little more self-documenting.
- Make RendererPpapiHost::CreateBrowserResourceHosts return the sequence number for the Create request, to aid in correlating the response with the request.
- Change ResourceConverterImpl so that rather than Bind the data for an asynchronous conversion in to a callback, it will explicitly hold a queue of pending conversions.
See this doc for more details:
https://docs.google.com/a/chromium.org/document/d/1-BSlFJi_PQIet-av5FeMlEC5_BCZyapsonUPnx--6iY/edit#
BUG= 417316
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+198 lines, -78 lines) |
Patch |
|
M |
chrome/renderer/pepper/pepper_flash_drm_renderer_host.h
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/pepper/pepper_flash_drm_renderer_host.cc
|
View
|
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/pepper/pepper_renderer_connection.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/public/renderer/renderer_ppapi_host.h
|
View
|
1
2
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/mock_renderer_ppapi_host.h
|
View
|
1
2
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/mock_renderer_ppapi_host.cc
|
View
|
1
2
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_browser_connection.h
|
View
|
1
2
|
5 chunks |
+26 lines, -9 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_browser_connection.cc
|
View
|
1
2
|
2 chunks |
+22 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_file_chooser_host.h
|
View
|
|
2 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_file_chooser_host.cc
|
View
|
1
2
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/renderer_ppapi_host_impl.h
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/renderer_ppapi_host_impl.cc
|
View
|
1
2
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/resource_converter.h
|
View
|
1
2
|
5 chunks |
+24 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/resource_converter.cc
|
View
|
1
2
|
6 chunks |
+38 lines, -17 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/url_response_info_util.cc
|
View
|
|
1 chunk |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/ppapi_messages.h
|
View
|
1
2
3
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/serialized_structs.h
|
View
|
1
2
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (3 generated)
|