summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/resource_creation_api.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-19 19:52:12 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-19 19:52:12 +0000
commit7b2f7297010c777f5adaa4b6131828a20496447a (patch)
tree67d307b8e93dd8f2f33d2268079ef33f403e104e /ppapi/thunk/resource_creation_api.h
parent060088c510e263ed73ed3be8d6c5a55292f9ff91 (diff)
downloadchromium_src-7b2f7297010c777f5adaa4b6131828a20496447a.zip
chromium_src-7b2f7297010c777f5adaa4b6131828a20496447a.tar.gz
chromium_src-7b2f7297010c777f5adaa4b6131828a20496447a.tar.bz2
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= Review URL: https://codereview.chromium.org/10913257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157588 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/resource_creation_api.h')
-rw-r--r--ppapi/thunk/resource_creation_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/thunk/resource_creation_api.h b/ppapi/thunk/resource_creation_api.h
index 5a51ea1..f513a60 100644
--- a/ppapi/thunk/resource_creation_api.h
+++ b/ppapi/thunk/resource_creation_api.h
@@ -28,7 +28,7 @@ struct PP_Size;
namespace ppapi {
-struct PPB_URLRequestInfo_Data;
+struct URLRequestInfoData;
namespace thunk {
@@ -82,7 +82,7 @@ class ResourceCreationAPI {
virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0;
virtual PP_Resource CreateURLRequestInfo(
PP_Instance instance,
- const PPB_URLRequestInfo_Data& data) = 0;
+ const URLRequestInfoData& data) = 0;
virtual PP_Resource CreateWheelInputEvent(
PP_Instance instance,
PP_TimeTicks time_stamp,