Lines Matching refs:url_request
5 #include "net/url_request/url_request_ftp_job.h"
19 #include "net/url_request/ftp_protocol_handler.h"
20 #include "net/url_request/url_request.h"
21 #include "net/url_request/url_request_context.h"
22 #include "net/url_request/url_request_job_factory_impl.h"
23 #include "net/url_request/url_request_status.h"
24 #include "net/url_request/url_request_test_util.h"
272 scoped_ptr<URLRequest> url_request(request_context()->CreateRequest(
275 url_request->Start();
276 ASSERT_TRUE(url_request->is_pending());
279 EXPECT_TRUE(url_request->status().is_success());
280 EXPECT_TRUE(url_request->proxy_server().Equals(
298 scoped_ptr<URLRequest> url_request(request_context()->CreateRequest(
301 url_request->Start();
303 // Now |url_request| will be deleted before its completion,
325 scoped_ptr<URLRequest> url_request(request_context()->CreateRequest(
328 url_request->Start();
329 ASSERT_TRUE(url_request->is_pending());
332 EXPECT_TRUE(url_request->status().is_success());
333 EXPECT_TRUE(url_request->proxy_server().Equals(
370 scoped_ptr<URLRequest> url_request(request_context()->CreateRequest(
373 url_request->Start();
374 ASSERT_TRUE(url_request->is_pending());
377 EXPECT_TRUE(url_request->status().is_success());
402 scoped_ptr<URLRequest> url_request(request_context()->CreateRequest(
405 url_request->Start();
406 ASSERT_TRUE(url_request->is_pending());
409 EXPECT_TRUE(url_request->status().is_success());
445 scoped_ptr<URLRequest> url_request(request_context()->CreateRequest(
448 url_request->Start();
449 ASSERT_TRUE(url_request->is_pending());
452 EXPECT_TRUE(url_request->status().is_success());
510 scoped_ptr<URLRequest> url_request(request_context()->CreateRequest(
512 url_request->Start();
513 ASSERT_TRUE(url_request->is_pending());
520 EXPECT_TRUE(url_request->status().is_success());
543 scoped_ptr<URLRequest> url_request(request_context()->CreateRequest(
546 url_request->Start();
547 ASSERT_TRUE(url_request->is_pending());
551 EXPECT_TRUE(url_request->status().is_success());
576 scoped_ptr<URLRequest> url_request(request_context()->CreateRequest(
579 url_request->Start();
580 EXPECT_TRUE(url_request->is_pending());
584 EXPECT_TRUE(url_request->is_pending());
587 ASSERT_TRUE(url_request->status().is_success());
593 EXPECT_FALSE(url_request->status().is_success());
594 EXPECT_EQ(ERR_UNSAFE_REDIRECT, url_request->status().error());