Home
last modified time | relevance | path

Searched refs:URLRequestFailedJob (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/content/test/net/
Durl_request_failed_job.cc45 URLRequestFailedJob::URLRequestFailedJob(net::URLRequest* request, in URLRequestFailedJob() function in content::URLRequestFailedJob
52 void URLRequestFailedJob::Start() { in Start()
55 base::Bind(&URLRequestFailedJob::StartAsync, weak_factory_.GetWeakPtr())); in Start()
59 void URLRequestFailedJob::AddUrlHandler() { in AddUrlHandler()
64 void URLRequestFailedJob::AddUrlHandlerForHostname( in AddUrlHandlerForHostname()
68 filter->AddHostnameHandler("http", hostname, URLRequestFailedJob::Factory); in AddUrlHandlerForHostname()
69 filter->AddHostnameHandler("https", hostname, URLRequestFailedJob::Factory); in AddUrlHandlerForHostname()
73 GURL URLRequestFailedJob::GetMockHttpUrl(int net_error) { in GetMockHttpUrl()
78 GURL URLRequestFailedJob::GetMockHttpsUrl(int net_error) { in GetMockHttpsUrl()
83 GURL URLRequestFailedJob::GetMockHttpUrlForHostname( in GetMockHttpUrlForHostname()
[all …]
Durl_request_failed_job.h19 class URLRequestFailedJob : public net::URLRequestJob {
21 URLRequestFailedJob(net::URLRequest* request,
45 virtual ~URLRequestFailedJob();
57 base::WeakPtrFactory<URLRequestFailedJob> weak_factory_;
59 DISALLOW_COPY_AND_ASSIGN(URLRequestFailedJob);
/external/chromium_org/chrome/browser/
Derrorpage_browsertest.cc33 using content::URLRequestFailedJob;
93 return URLRequestFailedJob::GetMockHttpUrl(net::ERR_NAME_NOT_RESOLVED); in GetDnsErrorURL()
289 URLRequestFailedJob::GetMockHttpUrl(net::ERR_NAME_NOT_RESOLVED); in IN_PROC_BROWSER_TEST_F()
379 return new URLRequestFailedJob(request, in MaybeCreateJob()
415 content::URLRequestFailedJob::AddUrlHandler(); in AddFilters()
435 URLRequestFailedJob::GetMockHttpUrl(net::ERR_NAME_NOT_RESOLVED), in IN_PROC_BROWSER_TEST_F()
474 content::URLRequestFailedJob::AddUrlHandlerForHostname(kHostname); in AddFilters()
494 URLRequestFailedJob::GetMockHttpUrlForHostname(net::ERR_UNSAFE_PORT, in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/net/
Ddns_probe_browsertest.cc50 using content::URLRequestFailedJob;
131 class DelayableURLRequestFailedJob : public URLRequestFailedJob,
141 : URLRequestFailedJob(request, network_delegate, net_error), in DelayableURLRequestFailedJob()
152 URLRequestFailedJob::Start(); in Start()
358 URLRequestFailedJob::AddUrlHandler(); in SetUpOnIOThread()
563 URLRequestFailedJob::GetMockHttpUrl(net::ERR_NAME_NOT_RESOLVED), in NavigateToDnsError()
570 URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_REFUSED), in NavigateToOtherError()
Durl_request_mock_util.cc36 content::URLRequestFailedJob::AddUrlHandler(); in SetUrlRequestMocksEnabled()
/external/chromium_org/content/browser/loader/
Dresource_dispatcher_host_browsertest.cc45 base::Bind(&URLRequestFailedJob::AddUrlHandler)); in SetUpOnMainThread()
351 GURL failed_url = URLRequestFailedJob::GetMockHttpUrl( in IN_PROC_BROWSER_TEST_F()
396 GURL failed_url = URLRequestFailedJob::GetMockHttpUrl( in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/captive_portal/
Dcaptive_portal_browsertest.cc57 using content::URLRequestFailedJob;
434 return new URLRequestFailedJob( in Factory()
1112 URLRequestFailedJob::GetMockHttpsUrl(net::ERR_CONNECTION_TIMED_OUT)); in FastTimeoutNoCaptivePortal()
1546 GURL url = URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_TIMED_OUT); in IN_PROC_BROWSER_TEST_F()
1553 GURL url = URLRequestFailedJob::GetMockHttpsUrl(net::ERR_UNEXPECTED); in IN_PROC_BROWSER_TEST_F()
1575 URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_CLOSED)); in IN_PROC_BROWSER_TEST_F()
1584 URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_CLOSED)); in IN_PROC_BROWSER_TEST_F()
2167 URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_TIMED_OUT); in IN_PROC_BROWSER_TEST_F()
2194 URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_TIMED_OUT); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/policy/
Dpolicy_browsertest.cc237 return new content::URLRequestFailedJob( in FailedJobFactory()