diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-10 21:43:01 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-10 21:43:01 +0000 |
commit | 5a3f62856d89817d4117de189e855a6dad16c2ee (patch) | |
tree | a7df5acea5b54ea8ca795b0ba5a1dc90316d450e /webkit/glue/plugins/pepper_url_request_info.cc | |
parent | 7631cf8806adf505db4fed53210e27d2d1dd2cd0 (diff) | |
download | chromium_src-5a3f62856d89817d4117de189e855a6dad16c2ee.zip chromium_src-5a3f62856d89817d4117de189e855a6dad16c2ee.tar.gz chromium_src-5a3f62856d89817d4117de189e855a6dad16c2ee.tar.bz2 |
Move URLLoader, URLRequestInfo, and URLResponseInfo out of the dev directory
and rename accordingly.
Rename URLResponseInfo.GetBody to GetBodyAsFileRef.
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/4747001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65705 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_url_request_info.cc')
-rw-r--r-- | webkit/glue/plugins/pepper_url_request_info.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/glue/plugins/pepper_url_request_info.cc b/webkit/glue/plugins/pepper_url_request_info.cc index ae0c280..f606509 100644 --- a/webkit/glue/plugins/pepper_url_request_info.cc +++ b/webkit/glue/plugins/pepper_url_request_info.cc @@ -62,7 +62,7 @@ PP_Bool IsURLRequestInfo(PP_Resource resource) { } PP_Bool SetProperty(PP_Resource request_id, - PP_URLRequestProperty_Dev property, + PP_URLRequestProperty property, PP_Var var) { scoped_refptr<URLRequestInfo> request( Resource::GetAs<URLRequestInfo>(request_id)); @@ -117,7 +117,7 @@ PP_Bool AppendFileToBody(PP_Resource request_id, expected_last_modified_time)); } -const PPB_URLRequestInfo_Dev ppb_urlrequestinfo = { +const PPB_URLRequestInfo ppb_urlrequestinfo = { &Create, &IsURLRequestInfo, &SetProperty, @@ -164,11 +164,11 @@ URLRequestInfo::~URLRequestInfo() { } // static -const PPB_URLRequestInfo_Dev* URLRequestInfo::GetInterface() { +const PPB_URLRequestInfo* URLRequestInfo::GetInterface() { return &ppb_urlrequestinfo; } -bool URLRequestInfo::SetBooleanProperty(PP_URLRequestProperty_Dev property, +bool URLRequestInfo::SetBooleanProperty(PP_URLRequestProperty property, bool value) { switch (property) { case PP_URLREQUESTPROPERTY_STREAMTOFILE: @@ -189,7 +189,7 @@ bool URLRequestInfo::SetBooleanProperty(PP_URLRequestProperty_Dev property, } } -bool URLRequestInfo::SetStringProperty(PP_URLRequestProperty_Dev property, +bool URLRequestInfo::SetStringProperty(PP_URLRequestProperty property, const std::string& value) { // TODO(darin): Validate input. Perhaps at a different layer? switch (property) { |