From ce0cb2221ce904f7e18db8e6fcbbba689e0d44d0 Mon Sep 17 00:00:00 2001 From: "vsevik@chromium.org" Date: Fri, 15 Apr 2011 21:52:39 +0000 Subject: 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 --- webkit/glue/weburlloader_impl.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'webkit/glue') 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(); -- cgit v1.1