Home
last modified time | relevance | path

Searched refs:url_request (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
Dwebrequest_condition_attribute_unittest.cc123 net::TestURLRequest url_request(test_server.GetURL("files/headers.html"), in TEST() local
127 url_request.Start(); in TEST()
138 WebRequestData(&url_request, ON_BEFORE_REQUEST, in TEST()
139 url_request.response_headers()))); in TEST()
141 WebRequestData(&url_request, ON_HEADERS_RECEIVED, in TEST()
142 url_request.response_headers()))); in TEST()
151 WebRequestData(&url_request, ON_HEADERS_RECEIVED, in TEST()
152 url_request.response_headers()))); in TEST()
162 WebRequestData(&url_request, ON_HEADERS_RECEIVED, in TEST()
163 url_request.response_headers()))); in TEST()
[all …]
/external/chromium_org/net/url_request/
Durl_request_ftp_job_unittest.cc268 URLRequest url_request(GURL("ftp://ftp.example.com/"), in TEST_F() local
272 url_request.Start(); in TEST_F()
273 ASSERT_TRUE(url_request.is_pending()); in TEST_F()
276 EXPECT_TRUE(url_request.status().is_success()); in TEST_F()
293 URLRequest url_request(GURL("ftp://ftp.example.com/"), in TEST_F() local
297 url_request.Start(); in TEST_F()
321 URLRequest url_request(GURL("ftp://ftp.example.com/"), in TEST_F() local
325 url_request.Start(); in TEST_F()
326 ASSERT_TRUE(url_request.is_pending()); in TEST_F()
329 EXPECT_TRUE(url_request.status().is_success()); in TEST_F()
[all …]
/external/chromium_org/ppapi/tests/
Dtest_url_request.cc99 PP_Resource url_request = ppb_url_request_interface_->Create( in TestCreateAndIsURLRequestInfo() local
101 ASSERT_NE(url_request, kInvalidResource); in TestCreateAndIsURLRequestInfo()
113 if (PP_FALSE == ppb_url_request_interface_->IsURLRequestInfo(url_request)) in TestCreateAndIsURLRequestInfo()
117 ppb_core_interface_->ReleaseResource(url_request); in TestCreateAndIsURLRequestInfo()
118 ASSERT_NE(PP_TRUE, ppb_url_request_interface_->IsURLRequestInfo(url_request)); in TestCreateAndIsURLRequestInfo()
263 PP_Resource url_request = ppb_url_request_interface_->Create( in TestSetProperty() local
265 if (url_request == kInvalidResource) in TestSetProperty()
273 ppb_url_request_interface_->SetProperty(url_request, in TestSetProperty()
285 ppb_core_interface_->ReleaseResource(url_request); in TestSetProperty()
290 PP_Resource url_request, const std::string& expected_body) { in LoadAndCompareBody() argument
[all …]
/external/chromium_org/tools/gn/secondary/net/
DBUILD.gn961 "url_request/data_protocol_handler.cc",
962 "url_request/data_protocol_handler.h",
963 "url_request/file_protocol_handler.cc",
964 "url_request/file_protocol_handler.h",
965 "url_request/fraudulent_certificate_reporter.h",
966 "url_request/ftp_protocol_handler.cc",
967 "url_request/ftp_protocol_handler.h",
968 "url_request/http_user_agent_settings.h",
969 "url_request/protocol_intercept_job_factory.cc",
970 "url_request/protocol_intercept_job_factory.h",
[all …]
/external/chromium_org/content/browser/loader/
Dresource_scheduler.cc142 net::URLRequest* url_request() { return request_; } in url_request() function in content::ResourceScheduler::ScheduledResourceRequest
143 const net::URLRequest* url_request() const { return request_; } in url_request() function in content::ResourceScheduler::ScheduledResourceRequest
200 net::URLRequest* url_request) { in ScheduleRequest() argument
204 new ScheduledResourceRequest(client_id, url_request, this)); in ScheduleRequest()
221 client->pending_requests.Insert(request.get(), url_request->priority()); in ScheduleRequest()
323 if (request->url_request()->load_flags() & net::LOAD_IGNORE_LIMITS) { in ReprioritizeRequest()
329 net::RequestPriority old_priority = request->url_request()->priority(); in ReprioritizeRequest()
331 request->url_request()->SetPriority(new_priority); in ReprioritizeRequest()
347 request->url_request()->priority()); in ReprioritizeRequest()
405 net::HostPortPair::FromURL((*it)->url_request()->url()); in GetNumDelayableRequestsInFlight()
[all …]
Dresource_scheduler_unittest.cc39 scoped_ptr<net::URLRequest> url_request) in TestRequest() argument
42 url_request_(url_request.Pass()) { in TestRequest()
54 const net::URLRequest* url_request() const { return url_request_.get(); } in url_request() function in content::__anon839ffeb10111::TestRequest
72 scoped_ptr<net::URLRequest> url_request) in CancelingTestRequest() argument
73 : TestRequest(throttle.Pass(), url_request.Pass()) { in CancelingTestRequest()
142 scoped_ptr<net::URLRequest> url_request( in NewURLRequestWithRoute() local
166 info->AssociateWithRequest(url_request.get()); in NewURLRequestWithRoute()
167 return url_request.Pass(); in NewURLRequestWithRoute()
178 scoped_ptr<net::URLRequest> url_request( in NewRequestWithRoute() local
181 kChildId, route_id, url_request.get())); in NewRequestWithRoute()
[all …]
/external/chromium/chrome/browser/net/
Dchrome_dns_cert_provenance_checker.cc51 net::URLRequest* url_request(new net::URLRequest(upload_url_, &delegate_)); in OnDnsCertLookupFailed() local
52 url_request->set_context(url_req_context_); in OnDnsCertLookupFailed()
53 url_request->set_method("POST"); in OnDnsCertLookupFailed()
54 url_request->AppendBytesToUpload(report.data(), report.size()); in OnDnsCertLookupFailed()
58 url_request->SetExtraRequestHeaders(headers); in OnDnsCertLookupFailed()
59 inflight_requests_.insert(url_request); in OnDnsCertLookupFailed()
60 url_request->Start(); in OnDnsCertLookupFailed()
/external/chromium_org/chrome/browser/net/
Dchrome_fraudulent_certificate_reporter.cc82 scoped_ptr<net::URLRequest> url_request = CreateURLRequest(request_context_); in SendReport() local
83 url_request->set_method("POST"); in SendReport()
87 url_request->set_upload(make_scoped_ptr( in SendReport()
93 url_request->SetExtraRequestHeaders(headers); in SendReport()
95 net::URLRequest* raw_url_request = url_request.get(); in SendReport()
96 inflight_requests_.insert(url_request.release()); in SendReport()
104 scoped_ptr<net::URLRequest> url_request(*i); in RequestComplete() local
/external/chromium/net/
Dnet.gyp707 'url_request/https_prober.h',
708 'url_request/https_prober.cc',
709 'url_request/url_request.cc',
710 'url_request/url_request.h',
711 'url_request/url_request_about_job.cc',
712 'url_request/url_request_about_job.h',
713 'url_request/url_request_context.cc',
714 'url_request/url_request_context.h',
715 'url_request/url_request_context_getter.cc',
716 'url_request/url_request_context_getter.h',
[all …]
/external/chromium_org/net/
Dnet.target.linux-arm.mk435 net/url_request/data_protocol_handler.cc \
436 net/url_request/file_protocol_handler.cc \
437 net/url_request/ftp_protocol_handler.cc \
438 net/url_request/protocol_intercept_job_factory.cc \
439 net/url_request/static_http_user_agent_settings.cc \
440 net/url_request/url_fetcher.cc \
441 net/url_request/url_fetcher_core.cc \
442 net/url_request/url_fetcher_delegate.cc \
443 net/url_request/url_fetcher_impl.cc \
444 net/url_request/url_fetcher_response_writer.cc \
[all …]
Dnet.target.darwin-arm.mk435 net/url_request/data_protocol_handler.cc \
436 net/url_request/file_protocol_handler.cc \
437 net/url_request/ftp_protocol_handler.cc \
438 net/url_request/protocol_intercept_job_factory.cc \
439 net/url_request/static_http_user_agent_settings.cc \
440 net/url_request/url_fetcher.cc \
441 net/url_request/url_fetcher_core.cc \
442 net/url_request/url_fetcher_delegate.cc \
443 net/url_request/url_fetcher_impl.cc \
444 net/url_request/url_fetcher_response_writer.cc \
[all …]
Dnet.target.linux-mips.mk435 net/url_request/data_protocol_handler.cc \
436 net/url_request/file_protocol_handler.cc \
437 net/url_request/ftp_protocol_handler.cc \
438 net/url_request/protocol_intercept_job_factory.cc \
439 net/url_request/static_http_user_agent_settings.cc \
440 net/url_request/url_fetcher.cc \
441 net/url_request/url_fetcher_core.cc \
442 net/url_request/url_fetcher_delegate.cc \
443 net/url_request/url_fetcher_impl.cc \
444 net/url_request/url_fetcher_response_writer.cc \
[all …]
Dnet.target.linux-x86.mk435 net/url_request/data_protocol_handler.cc \
436 net/url_request/file_protocol_handler.cc \
437 net/url_request/ftp_protocol_handler.cc \
438 net/url_request/protocol_intercept_job_factory.cc \
439 net/url_request/static_http_user_agent_settings.cc \
440 net/url_request/url_fetcher.cc \
441 net/url_request/url_fetcher_core.cc \
442 net/url_request/url_fetcher_delegate.cc \
443 net/url_request/url_fetcher_impl.cc \
444 net/url_request/url_fetcher_response_writer.cc \
[all …]
Dnet.target.darwin-x86.mk435 net/url_request/data_protocol_handler.cc \
436 net/url_request/file_protocol_handler.cc \
437 net/url_request/ftp_protocol_handler.cc \
438 net/url_request/protocol_intercept_job_factory.cc \
439 net/url_request/static_http_user_agent_settings.cc \
440 net/url_request/url_fetcher.cc \
441 net/url_request/url_fetcher_core.cc \
442 net/url_request/url_fetcher_delegate.cc \
443 net/url_request/url_fetcher_impl.cc \
444 net/url_request/url_fetcher_response_writer.cc \
[all …]
Dnet.target.darwin-mips.mk435 net/url_request/data_protocol_handler.cc \
436 net/url_request/file_protocol_handler.cc \
437 net/url_request/ftp_protocol_handler.cc \
438 net/url_request/protocol_intercept_job_factory.cc \
439 net/url_request/static_http_user_agent_settings.cc \
440 net/url_request/url_fetcher.cc \
441 net/url_request/url_fetcher_core.cc \
442 net/url_request/url_fetcher_delegate.cc \
443 net/url_request/url_fetcher_impl.cc \
444 net/url_request/url_fetcher_response_writer.cc \
[all …]
Dnet.gyp1080 'url_request/data_protocol_handler.cc',
1081 'url_request/data_protocol_handler.h',
1082 'url_request/file_protocol_handler.cc',
1083 'url_request/file_protocol_handler.h',
1084 'url_request/fraudulent_certificate_reporter.h',
1085 'url_request/ftp_protocol_handler.cc',
1086 'url_request/ftp_protocol_handler.h',
1087 'url_request/http_user_agent_settings.h',
1088 'url_request/protocol_intercept_job_factory.cc',
1089 'url_request/protocol_intercept_job_factory.h',
[all …]
/external/chromium_org/chrome/browser/predictors/
Dresource_prefetcher.cc126 net::URLRequest* url_request = new net::URLRequest( in SendRequest() local
128 inflight_requests_[url_request] = request; in SendRequest()
129 host_inflight_counts_[url_request->original_url().host()] += 1; in SendRequest()
131 url_request->set_method("GET"); in SendRequest()
132 url_request->set_first_party_for_cookies(navigation_id_.main_frame_url); in SendRequest()
133 url_request->SetReferrer(navigation_id_.main_frame_url.spec()); in SendRequest()
134 StartURLRequest(url_request); in SendRequest()
/external/chromium_org/net/websockets/
Dwebsocket_stream.cc66 URLRequest* url_request() { return &url_request_; } in url_request() function in net::__anon8cab07da0111::StreamRequestImpl
147 request->url_request()->SetExtraRequestHeaders(headers); in CreateAndConnectStreamWithCreateHelper()
148 request->url_request()->SetUserData( in CreateAndConnectStreamWithCreateHelper()
151 request->url_request()->SetLoadFlags(LOAD_DISABLE_CACHE | in CreateAndConnectStreamWithCreateHelper()
153 request->url_request()->Start(); in CreateAndConnectStreamWithCreateHelper()
/external/chromium/
DAndroid.mk325 net/url_request/https_prober.cc \
326 net/url_request/url_request.cc \
327 net/url_request/url_request_context.cc \
328 net/url_request/url_request_context_getter.cc \
329 net/url_request/url_request_file_job.cc \
330 net/url_request/url_request_file_dir_job.cc \
331 net/url_request/url_request_http_job.cc \
332 net/url_request/url_request_error_job.cc \
333 net/url_request/url_request_job.cc \
334 net/url_request/url_request_job_manager.cc \
[all …]
/external/chromium_org/content/renderer/
Dcpp_bound_class_unittest.cc83 blink::WebURLRequest url_request; in SetUp() local
84 url_request.initialize(); in SetUp()
85 url_request.setURL(GURL(kAboutBlankURL)); in SetUp()
87 GetMainFrame()->loadRequest(url_request); in SetUp()
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
Dfile_downloader.cc105 pp::URLRequestInfo url_request(instance_); in Open() local
113 url_request.SetAllowCrossOriginRequests(true); in Open()
116 url_request.SetHeaders(extra_request_headers_); in Open()
141 url_request.SetRecordDownloadProgress(record_progress); in Open()
157 url_request.SetURL(url_); in Open()
161 url_request.SetStreamToFile(true); in Open()
171 int32_t pp_error = url_loader_.Open(url_request, onload_callback); in Open()
/external/chromium_org/sync/notifier/
DDEPS6 "+net/url_request/url_request_context.h",
7 "+net/url_request/url_request_test_util.h",
/external/chromium_org/native_client_sdk/src/examples/demo/drive/
Ddrive.cc104 pp::URLRequestInfo url_request(instance); in ReadUrl() local
107 url_request.SetURL(params.url); in ReadUrl()
108 url_request.SetMethod(params.method); in ReadUrl()
109 url_request.SetHeaders(params.request_headers); in ReadUrl()
110 url_request.SetRecordDownloadProgress(true); in ReadUrl()
112 url_request.AppendDataToBody(params.request_body.data(), in ReadUrl()
116 int32_t result = url_loader.Open(url_request, pp::BlockUntilComplete()); in ReadUrl()
136 url_request.SetRecordDownloadProgress(false); in ReadUrl()
/external/chromium/chrome/browser/
Dexternal_tab_container_win.cc327 PendingTopLevelNavigation url_request; in OpenURLFromTab() local
328 url_request.disposition = disposition; in OpenURLFromTab()
329 url_request.transition = transition; in OpenURLFromTab()
330 url_request.url = url; in OpenURLFromTab()
331 url_request.referrer = referrer; in OpenURLFromTab()
333 pending_open_url_requests_.push_back(url_request); in OpenURLFromTab()
1053 const PendingTopLevelNavigation& url_request = in ServicePendingOpenURLRequests() local
1055 OpenURLFromTab(tab_contents(), url_request.url, url_request.referrer, in ServicePendingOpenURLRequests()
1056 url_request.disposition, url_request.transition); in ServicePendingOpenURLRequests()
/external/chromium_org/components/precache/core/
DDEPS3 "+net/url_request",

12