diff options
Diffstat (limited to 'webkit/appcache')
-rw-r--r-- | webkit/appcache/appcache_request_handler_unittest.cc | 3 | ||||
-rw-r--r-- | webkit/appcache/appcache_update_job_unittest.cc | 2 | ||||
-rw-r--r-- | webkit/appcache/appcache_url_request_job_unittest.cc | 3 |
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); } } |