Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(644)

Issue 11416064: Convert URLLoader to the new proxy design (Closed)

Created:
8 years, 1 month ago by brettw
Modified:
8 years ago
Reviewers:
bbudge
CC:
chromium-reviews, victorhsieh
Visibility:
Public.

Description

Implementation of URLLoader using PluginResource/ResourceHost. This doesn't use the resource call/reply infrastructure, but rather pipes WebKit callbacks to the plugin via unsolicited callbacks. This eliminates state tracking in the host which makes things simpler.

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Links #

Patch Set 4 : basics work #

Patch Set 5 : Test pass #

Patch Set 6 : document load #

Patch Set 7 : PDF works #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : Review comments, merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1342 lines, -1633 lines) Patch
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/renderer/renderer_ppapi_host.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M content/renderer/pepper/content_renderer_pepper_host_factory.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_in_process_resource_creation.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/pepper/pepper_in_process_resource_creation.cc View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +66 lines, -0 lines 0 comments Download
A content/renderer/pepper/pepper_url_loader_host.h View 1 2 3 4 5 6 7 8 1 chunk +138 lines, -0 lines 0 comments Download
A content/renderer/pepper/pepper_url_loader_host.cc View 1 2 3 4 5 6 7 8 1 chunk +380 lines, -0 lines 0 comments Download
M content/renderer/pepper/renderer_ppapi_host_impl.h View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
M content/renderer/pepper/renderer_ppapi_host_impl.cc View 1 2 3 4 5 6 2 chunks +6 lines, -1 line 0 comments Download
M ppapi/api/ppp_instance.idl View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -9 lines 0 comments Download
M ppapi/c/ppp_instance.h View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -10 lines 0 comments Download
M ppapi/c/private/ppb_proxy_private.h View 1 2 3 4 5 6 7 8 2 chunks +1 line, -6 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 4 5 6 2 chunks +0 lines, -2 lines 0 comments Download
M ppapi/proxy/plugin_resource.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 2 chunks +60 lines, -4 lines 0 comments Download
D ppapi/proxy/ppb_url_loader_proxy.h View 1 2 3 4 5 1 chunk +0 lines, -92 lines 0 comments Download
M ppapi/proxy/ppb_url_loader_proxy.cc View 1 2 3 4 5 1 chunk +0 lines, -649 lines 0 comments Download
M ppapi/proxy/ppp_instance_proxy.h View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M ppapi/proxy/ppp_instance_proxy.cc View 1 2 3 4 5 6 7 8 3 chunks +28 lines, -45 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 4 5 6 3 chunks +7 lines, -2 lines 0 comments Download
A ppapi/proxy/url_loader_resource.h View 1 2 3 4 5 6 1 chunk +141 lines, -0 lines 0 comments Download
A ppapi/proxy/url_loader_resource.cc View 1 2 3 4 5 6 1 chunk +381 lines, -0 lines 0 comments Download
M ppapi/proxy/url_response_info_resource.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/shared_impl/api_id.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/thunk/interfaces_ppb_private.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_stable.h View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M ppapi/thunk/ppb_url_loader_api.h View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M ppapi/thunk/ppb_url_loader_thunk.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -8 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M ppapi/thunk/thunk.h View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 2 3 4 5 6 7 8 4 chunks +19 lines, -5 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 7 8 5 chunks +17 lines, -12 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_webplugin_impl.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppapi_webplugin_impl.cc View 1 2 3 4 5 6 2 chunks +12 lines, -24 lines 0 comments Download
webkit/plugins/ppapi/ppb_proxy_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -9 lines 0 comments Download
webkit/plugins/ppapi/ppb_url_loader_impl.h View 1 2 1 chunk +0 lines, -176 lines 0 comments Download
D webkit/plugins/ppapi/ppb_url_loader_impl.cc View 1 2 1 chunk +0 lines, -547 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.cc View 1 2 3 4 5 6 3 chunks +7 lines, -5 lines 0 comments Download
M webkit/plugins/ppapi/url_response_info_util.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
brettw
Review hint: diff url_loader_resource.cc to patch set 1. Patch set 1 is exactly the old ...
8 years ago (2012-12-03 18:55:57 UTC) #1
bbudge
https://codereview.chromium.org/11416064/diff/10104/content/renderer/pepper/content_renderer_pepper_host_factory.cc File content/renderer/pepper/content_renderer_pepper_host_factory.cc (right): https://codereview.chromium.org/11416064/diff/10104/content/renderer/pepper/content_renderer_pepper_host_factory.cc#newcode72 content/renderer/pepper/content_renderer_pepper_host_factory.cc:72: host_, false, instance, params.pp_resource())); Should be in the public ...
8 years ago (2012-12-05 01:47:08 UTC) #2
brettw
https://codereview.chromium.org/11416064/diff/10104/content/renderer/pepper/pepper_url_loader_host.cc File content/renderer/pepper/pepper_url_loader_host.cc (right): https://codereview.chromium.org/11416064/diff/10104/content/renderer/pepper/pepper_url_loader_host.cc#newcode223 content/renderer/pepper/pepper_url_loader_host.cc:223: int32_t PepperURLLoaderHost::InternalOnHostMsgOpen( I added an extra comment. This was ...
8 years ago (2012-12-13 05:48:14 UTC) #3
brettw
8 years ago (2012-12-14 05:30:32 UTC) #4
Because this issue got messed up, I'm moving to
https://codereview.chromium.org/11416363/

Powered by Google App Engine
This is Rietveld 408576698