summaryrefslogtreecommitdiffstats
path: root/webkit/appcache
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 03:27:18 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 03:27:18 +0000
commit8c6bcd867c7ed3729cc25017b5d7c802fbd56ffb (patch)
treeffd5dae588760f430ce7e6941e8fde62987e9ebe /webkit/appcache
parent56314f7ec1fbbe0ca00ef8dadc0bcdc39ea2ef1d (diff)
downloadchromium_src-8c6bcd867c7ed3729cc25017b5d7c802fbd56ffb.zip
chromium_src-8c6bcd867c7ed3729cc25017b5d7c802fbd56ffb.tar.gz
chromium_src-8c6bcd867c7ed3729cc25017b5d7c802fbd56ffb.tar.bz2
net: Add namespace net to URLRequestErrorJob.
BUG=64263 TEST=compiled locally and trybots Review URL: http://codereview.chromium.org/5863001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69228 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache')
-rw-r--r--webkit/appcache/appcache_request_handler_unittest.cc3
-rw-r--r--webkit/appcache/appcache_update_job_unittest.cc2
-rw-r--r--webkit/appcache/appcache_url_request_job_unittest.cc3
3 files changed, 5 insertions, 3 deletions
diff --git a/webkit/appcache/appcache_request_handler_unittest.cc b/webkit/appcache/appcache_request_handler_unittest.cc
index 6f69ae9..1ffbb6f 100644
--- a/webkit/appcache/appcache_request_handler_unittest.cc
+++ b/webkit/appcache/appcache_request_handler_unittest.cc
@@ -103,7 +103,8 @@ class AppCacheRequestHandlerTest : public testing::Test {
} else {
// Some of these tests trigger UpdateJobs which start URLRequests.
// We short circuit those be returning error jobs.
- return new URLRequestErrorJob(request, net::ERR_INTERNET_DISCONNECTED);
+ return new net::URLRequestErrorJob(request,
+ net::ERR_INTERNET_DISCONNECTED);
}
}
diff --git a/webkit/appcache/appcache_update_job_unittest.cc b/webkit/appcache/appcache_update_job_unittest.cc
index f4aacf2..0c34cb6 100644
--- a/webkit/appcache/appcache_update_job_unittest.cc
+++ b/webkit/appcache/appcache_update_job_unittest.cc
@@ -44,7 +44,7 @@ class MockHttpServer {
static net::URLRequestJob* JobFactory(net::URLRequest* request,
const std::string& scheme) {
if (request->url().host() != "mockhost")
- return new URLRequestErrorJob(request, -1);
+ return new net::URLRequestErrorJob(request, -1);
std::string headers, body;
GetMockResponse(request->url().path(), &headers, &body);
diff --git a/webkit/appcache/appcache_url_request_job_unittest.cc b/webkit/appcache/appcache_url_request_job_unittest.cc
index a282b42..141b909 100644
--- a/webkit/appcache/appcache_url_request_job_unittest.cc
+++ b/webkit/appcache/appcache_url_request_job_unittest.cc
@@ -131,7 +131,8 @@ class AppCacheURLRequestJobTest : public testing::Test {
mock_factory_job_ = NULL;
return temp;
} else {
- return new URLRequestErrorJob(request, net::ERR_INTERNET_DISCONNECTED);
+ return new net::URLRequestErrorJob(request,
+ net::ERR_INTERNET_DISCONNECTED);
}
}