Searched refs:URLRequestFailedJob (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/net/test/url_request/
H A Durl_request_failed_job.cc45 URLRequestFailedJob::URLRequestFailedJob(net::URLRequest* request, function in class:net::URLRequestFailedJob
52 void URLRequestFailedJob::Start() {
55 base::Bind(&URLRequestFailedJob::StartAsync, weak_factory_.GetWeakPtr()));
59 void URLRequestFailedJob::AddUrlHandler() {
64 void URLRequestFailedJob::AddUrlHandlerForHostname(
68 filter->AddHostnameHandler("http", hostname, URLRequestFailedJob::Factory);
69 filter->AddHostnameHandler("https", hostname, URLRequestFailedJob::Factory);
73 GURL URLRequestFailedJob::GetMockHttpUrl(int net_error) {
78 GURL URLRequestFailedJob
[all...]
H A Durl_request_failed_job.h19 class URLRequestFailedJob : public URLRequestJob { class in namespace:net
21 URLRequestFailedJob(URLRequest* request,
37 // URLRequestFailedJob must be added as a handler for |hostname| for
45 virtual ~URLRequestFailedJob();
57 base::WeakPtrFactory<URLRequestFailedJob> weak_factory_;
59 DISALLOW_COPY_AND_ASSIGN(URLRequestFailedJob);
/external/chromium_org/components/cronet/android/test/
H A Dmock_url_request_job_test.cc22 net::URLRequestFailedJob::AddUrlHandler();
/external/chromium_org/chrome/browser/net/
H A Durl_request_mock_util.cc35 net::URLRequestFailedJob::AddUrlHandler();
H A Ddns_probe_browsertest.cc50 using net::URLRequestFailedJob;
131 class DelayableURLRequestFailedJob : public URLRequestFailedJob,
141 : URLRequestFailedJob(request, network_delegate, net_error),
152 URLRequestFailedJob::Start();
362 URLRequestFailedJob::AddUrlHandler();
575 URLRequestFailedJob::GetMockHttpUrl(net::ERR_NAME_NOT_RESOLVED),
582 URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_REFUSED),
/external/chromium_org/content/browser/loader/
H A Dresource_dispatcher_host_browsertest.cc50 base::Bind(&net::URLRequestFailedJob::AddUrlHandler));
356 GURL failed_url = net::URLRequestFailedJob::GetMockHttpUrl(
401 GURL failed_url = net::URLRequestFailedJob::GetMockHttpUrl(
/external/chromium_org/chrome/browser/
H A Derrorpage_browsertest.cc58 using net::URLRequestFailedJob;
169 return new URLRequestFailedJob(request,
426 return URLRequestFailedJob::GetMockHttpUrl(net::ERR_NAME_NOT_RESOLVED);
761 URLRequestFailedJob::GetMockHttpUrl(net::ERR_NAME_NOT_RESOLVED);
945 return new URLRequestFailedJob(request,
977 // Also adds the net::URLRequestFailedJob filter.
980 URLRequestFailedJob::AddUrlHandler();
1000 URLRequestFailedJob::GetMockHttpUrl(net::ERR_NAME_NOT_RESOLVED),
1079 URLRequestFailedJob::AddUrlHandlerForHostname(kHostname);
1099 URLRequestFailedJob
[all...]
/external/chromium_org/chrome/browser/captive_portal/
H A Dcaptive_portal_browsertest.cc59 using net::URLRequestFailedJob;
435 return new URLRequestFailedJob(
1125 URLRequestFailedJob::GetMockHttpsUrl(net::ERR_CONNECTION_TIMED_OUT));
1557 GURL url = URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_TIMED_OUT);
1564 GURL url = URLRequestFailedJob::GetMockHttpsUrl(net::ERR_UNEXPECTED);
1586 URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_CLOSED));
1595 URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_CLOSED));
2176 URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_TIMED_OUT);
2203 URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_TIMED_OUT);
/external/chromium_org/chrome/browser/policy/
H A Dpolicy_browsertest.cc252 return new net::URLRequestFailedJob(

Completed in 312 milliseconds