summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_url_loader.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 16:57:52 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 16:57:52 +0000
commitd363e92064f4cef9f3fe4622623ae057723a3923 (patch)
treef4797309bcd710e51829cbe1e25d55f08380f384 /webkit/glue/plugins/pepper_url_loader.cc
parent8323b08e4aa0138076fa06589706231470c3cee6 (diff)
downloadchromium_src-d363e92064f4cef9f3fe4622623ae057723a3923.zip
chromium_src-d363e92064f4cef9f3fe4622623ae057723a3923.tar.gz
chromium_src-d363e92064f4cef9f3fe4622623ae057723a3923.tar.bz2
Implement some of URLResponseInfo properties.
R=brettw BUG=47222 TEST=none Review URL: http://codereview.chromium.org/3032002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52688 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_url_loader.cc')
-rw-r--r--webkit/glue/plugins/pepper_url_loader.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/glue/plugins/pepper_url_loader.cc b/webkit/glue/plugins/pepper_url_loader.cc
index c20d8e8..617cbc2 100644
--- a/webkit/glue/plugins/pepper_url_loader.cc
+++ b/webkit/glue/plugins/pepper_url_loader.cc
@@ -246,7 +246,10 @@ void URLLoader::didSendData(WebURLLoader* loader,
void URLLoader::didReceiveResponse(WebURLLoader* loader,
const WebURLResponse& response) {
- // TODO(darin): Initialize response_info_.
+ scoped_refptr<URLResponseInfo> response_info(new URLResponseInfo(module()));
+ if (response_info->Initialize(response))
+ response_info_ = response_info;
+
RunCallback(PP_OK);
}