Home | History | Annotate | Download | only in url_request

Lines Matching refs:request

137   virtual int OnBeforeURLRequest(net::URLRequest* request,
140 TestNetworkDelegate::OnBeforeURLRequest(request, callback, new_url);
208 ASSERT_EQ(1, d.response_started_count()) << "request failed: " <<
233 ASSERT_EQ(1, d->response_started_count()) << "request failed: " <<
247 // issuing a CONNECT request with the magic host name "www.redirect.com".
303 // Tests that the network delegate can block and cancel a request.
329 // Tests that the network delegate can block and redirect a request to a new
362 // issuing a CONNECT request with the magic host name "www.server-auth.com".
436 // An https server is sent a request with an https referer,
577 URLRequest* request,
594 // - Getting a certificate request in an SSL renegotiation sending the
595 // HTTP request.
641 // We expect to receive OnResponseStarted even though the request has been
704 // The request will be implicitly canceled when it is destroyed. The
773 ASSERT_EQ(1, d.response_started_count()) << "request failed: " <<
819 ASSERT_EQ(1, d.response_started_count()) << "request failed: " <<
1435 // repeat request with end-to-end validation. since auth-basic results in a
1465 // Request a page that will give a 401 containing a Set-Cookie header.
1931 // These extra request headers should not have been stripped.
1960 explicit RestartTestJob(URLRequest* request)
1961 : URLRequestTestJob(request, true) {}
1972 explicit CancelTestJob(URLRequest* request)
1973 : URLRequestTestJob(request, true) {}
1984 explicit CancelThenRestartTestJob(URLRequest* request)
1985 : URLRequestTestJob(request, true) {
2017 virtual URLRequestJob* MaybeIntercept(URLRequest* request) {
2021 return new RestartTestJob(request);
2026 return new CancelTestJob(request);
2031 return new CancelThenRestartTestJob(request);
2037 return new URLRequestTestJob(request, true);
2043 return new URLRequestTestJob(request,
2049 virtual URLRequestJob* MaybeInterceptRedirect(URLRequest* request,
2054 return new CancelTestJob(request);
2060 return new URLRequestTestJob(request,
2066 virtual URLRequestJob* MaybeInterceptResponse(URLRequest* request) {
2070 return new CancelTestJob(request);
2076 return new URLRequestTestJob(request,
2082 // Whether to intercept the main request, and if so the response to return.
2150 // intercept the main request and respond with a simple response
2186 // intercept the main request and respond with a redirect
2219 // intercept the main request to generate a server error response
2250 // intercept the main request to simulate a network error
2279 // restart the main request
2282 // then intercept the new main request and respond with an OK response
2310 // intercept the main request and cancel from within the restarted job
2328 // Check we see a canceled request
2336 // intercept the main request and respond with a redirect
2360 // Check we see a canceled request
2368 // intercept the main request to simulate a network error
2384 // Check we see a canceled request
2392 // intercept the main request and cancel then restart from within that job
2410 // Check we see a canceled request
2443 // Check we see a failed request.
2700 // This request should use cached identity from previous request.
2801 // Check that if request overrides the A-L header, the default is not appended.
2847 // Check that if request overrides the A-C header, the default is not appended.
2876 // Check that if request overrides the User-Agent header,