summaryrefslogtreecommitdiffstats
path: root/chrome/utility
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-16 00:39:41 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-16 00:39:41 +0000
commit5b26ed7cb7e9a31ba474f43058e460b8321159d3 (patch)
tree2229d830584598f64ad6a5113a4cbe7d131b6606 /chrome/utility
parent28f39c67d6dc6ee3b28f1bf47f97ab7629d4faaf (diff)
downloadchromium_src-5b26ed7cb7e9a31ba474f43058e460b8321159d3.zip
chromium_src-5b26ed7cb7e9a31ba474f43058e460b8321159d3.tar.gz
chromium_src-5b26ed7cb7e9a31ba474f43058e460b8321159d3.tar.bz2
Shouldn't assume response code of 200 in SimpleDataSource
SimpleDataSource assumes the scheme is file or http and the response code is 200. We should just check if the response is successful using response.is_success() and verify the content_length, which will be -1 in case of unspecified length. Review URL: http://codereview.chromium.org/113422 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/utility')
0 files changed, 0 insertions, 0 deletions