diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-26 04:51:07 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-26 04:51:07 +0000 |
commit | 6f75c95235c7ea357e180ddfb6d1cba143d87645 (patch) | |
tree | e5440672cfbe6bac4d28f6790ab1c5b4ee8b3f93 /ppapi/proxy/ppb_url_response_info_proxy.cc | |
parent | ecba6c3763755a5c617972d74f0d798939183260 (diff) | |
download | chromium_src-6f75c95235c7ea357e180ddfb6d1cba143d87645.zip chromium_src-6f75c95235c7ea357e180ddfb6d1cba143d87645.tar.gz chromium_src-6f75c95235c7ea357e180ddfb6d1cba143d87645.tar.bz2 |
Convert FileRefImpl and URLRequestInfo to shared_impl.
One nice side effect of this change is that there are no longer any IPCs
associated with the request info. Instead, we just send the parameters to
the host when we open a url loader.
Review URL: http://codereview.chromium.org/7706021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98391 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_url_response_info_proxy.cc')
-rw-r--r-- | ppapi/proxy/ppb_url_response_info_proxy.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/proxy/ppb_url_response_info_proxy.cc b/ppapi/proxy/ppb_url_response_info_proxy.cc index 5be2afe..3801e5f 100644 --- a/ppapi/proxy/ppb_url_response_info_proxy.cc +++ b/ppapi/proxy/ppb_url_response_info_proxy.cc @@ -71,7 +71,7 @@ PP_Resource URLResponseInfo::GetBodyAsFileRef() { // file ref when the request is streaming to a file and it's in the state // where the file is ready. This will prevent us from having to do this sync // IPC here. - PPBFileRef_CreateInfo create_info; + PPB_FileRef_CreateInfo create_info; PluginDispatcher::GetForResource(this)->Send( new PpapiHostMsg_PPBURLResponseInfo_GetBodyAsFileRef( INTERFACE_ID_PPB_URL_RESPONSE_INFO, host_resource(), &create_info)); @@ -135,7 +135,7 @@ void PPB_URLResponseInfo_Proxy::OnMsgGetProperty( void PPB_URLResponseInfo_Proxy::OnMsgGetBodyAsFileRef( const HostResource& response, - PPBFileRef_CreateInfo* result) { + PPB_FileRef_CreateInfo* result) { EnterHostFromHostResource<PPB_URLResponseInfo_API> enter(response); PP_Resource file_ref = 0; if (enter.succeeded()) |