From 8c6bcd867c7ed3729cc25017b5d7c802fbd56ffb Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Wed, 15 Dec 2010 03:27:18 +0000 Subject: 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 --- webkit/appcache/appcache_request_handler_unittest.cc | 3 ++- webkit/appcache/appcache_update_job_unittest.cc | 2 +- webkit/appcache/appcache_url_request_job_unittest.cc | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'webkit/appcache') 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); } } -- cgit v1.1