summaryrefslogtreecommitdiffstats
path: root/webkit/appcache
diff options
context:
space:
mode:
authormmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 22:28:11 +0000
committermmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 22:28:11 +0000
commite01eaa3454ff83444190bf39b5f27303891eb279 (patch)
tree59758594bde0a8546e3383158716aba1f28ebde6 /webkit/appcache
parent0a2f3737c59387775e369264d6effbd1ca56630a (diff)
downloadchromium_src-e01eaa3454ff83444190bf39b5f27303891eb279.zip
chromium_src-e01eaa3454ff83444190bf39b5f27303891eb279.tar.gz
chromium_src-e01eaa3454ff83444190bf39b5f27303891eb279.tar.bz2
Log errors on the URLRequestTYPE_REQUEST_ALIVE end event,
as well as on URLRequestJob's NotifyDone event. The primary motivation of this change is to log CONTENT_DECODING_FAILED errors to the NetLog. BUG=89648 TEST=none Review URL: http://codereview.chromium.org/7604043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97227 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache')
-rw-r--r--webkit/appcache/appcache_update_job_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/appcache/appcache_update_job_unittest.cc b/webkit/appcache/appcache_update_job_unittest.cc
index 9dd1848..d361ba5 100644
--- a/webkit/appcache/appcache_update_job_unittest.cc
+++ b/webkit/appcache/appcache_update_job_unittest.cc
@@ -53,7 +53,7 @@ class MockHttpServer {
static net::URLRequestJob* JobFactory(net::URLRequest* request) {
if (request->url().host() != "mockhost" &&
request->url().host() != "cross_origin_host")
- return new net::URLRequestErrorJob(request, -1);
+ return new net::URLRequestErrorJob(request, -100);
std::string headers, body;
GetMockResponse(request->url().path(), &headers, &body);