summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorvsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 21:52:39 +0000
committervsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 21:52:39 +0000
commitce0cb2221ce904f7e18db8e6fcbbba689e0d44d0 (patch)
tree08426cdf6e9687fe6d7e27321b676adb5efc3596 /webkit/glue
parent1018986a95eac94015707d2966b9200ae6168460 (diff)
downloadchromium_src-ce0cb2221ce904f7e18db8e6fcbbba689e0d44d0.zip
chromium_src-ce0cb2221ce904f7e18db8e6fcbbba689e0d44d0.tar.gz
chromium_src-ce0cb2221ce904f7e18db8e6fcbbba689e0d44d0.tar.bz2
Enabled encoded data length support in DevTools for synchronous requests
BUG=40502 TEST=Open DevTools, make synchronous XHR request, check transfer size is reported correctly Review URL: http://codereview.chromium.org/6836015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81811 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/weburlloader_impl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
index 0152e1d..c9df4a8 100644
--- a/webkit/glue/weburlloader_impl.cc
+++ b/webkit/glue/weburlloader_impl.cc
@@ -223,6 +223,7 @@ void PopulateURLResponse(
load_info.setHTTPStatusCode(info.devtools_info->http_status_code);
load_info.setHTTPStatusText(WebString::fromUTF8(
info.devtools_info->http_status_text));
+ load_info.setEncodedDataLength(info.encoded_data_length);
const HeadersVector& request_headers = info.devtools_info->request_headers;
for (HeadersVector::const_iterator it = request_headers.begin();