Index: content/browser/loader/resource_dispatcher_host_browsertest.cc |
diff --git a/content/browser/loader/resource_dispatcher_host_browsertest.cc b/content/browser/loader/resource_dispatcher_host_browsertest.cc |
index 94914b4013b34b357629eabdc8fbb182c9bb4ade..9eb73c108a91f4c0945e1f95bf3d2bbb6508a083 100644 |
--- a/content/browser/loader/resource_dispatcher_host_browsertest.cc |
+++ b/content/browser/loader/resource_dispatcher_host_browsertest.cc |
@@ -19,11 +19,11 @@ |
#include "content/shell/browser/shell.h" |
#include "content/shell/browser/shell_content_browser_client.h" |
#include "content/shell/browser/shell_network_delegate.h" |
-#include "content/test/net/url_request_failed_job.h" |
#include "net/base/net_errors.h" |
#include "net/test/embedded_test_server/embedded_test_server.h" |
#include "net/test/embedded_test_server/http_request.h" |
#include "net/test/embedded_test_server/http_response.h" |
+#include "net/test/url_request/url_request_failed_job.h" |
#include "net/test/url_request/url_request_mock_http_job.h" |
using base::ASCIIToUTF16; |
@@ -47,7 +47,7 @@ class ResourceDispatcherHostBrowserTest : public ContentBrowserTest, |
make_scoped_refptr(content::BrowserThread::GetBlockingPool()))); |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
- base::Bind(&URLRequestFailedJob::AddUrlHandler)); |
+ base::Bind(&net::URLRequestFailedJob::AddUrlHandler)); |
} |
virtual void OnDownloadCreated( |
@@ -353,7 +353,7 @@ IN_PROC_BROWSER_TEST_F(ResourceDispatcherHostBrowserTest, |
// TODO(creis): If this causes crashes or hangs, it might be for the same |
// reason as ErrorPageTest::DNSError. See bug 1199491 and |
// http://crbug.com/22877. |
- GURL failed_url = URLRequestFailedJob::GetMockHttpUrl( |
+ GURL failed_url = net::URLRequestFailedJob::GetMockHttpUrl( |
net::ERR_NAME_NOT_RESOLVED); |
NavigateToURL(shell(), failed_url); |
@@ -398,7 +398,7 @@ IN_PROC_BROWSER_TEST_F(ResourceDispatcherHostBrowserTest, |
// TODO(creis): If this causes crashes or hangs, it might be for the same |
// reason as ErrorPageTest::DNSError. See bug 1199491 and |
// http://crbug.com/22877. |
- GURL failed_url = URLRequestFailedJob::GetMockHttpUrl( |
+ GURL failed_url = net::URLRequestFailedJob::GetMockHttpUrl( |
net::ERR_NAME_NOT_RESOLVED); |
NavigateToURL(shell(), failed_url); |