Home
last modified time | relevance | path

Searched refs:url_request_ (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/components/cronet/android/
Durl_request_adapter.cc43 CHECK(url_request_ == NULL); in ~URLRequestAdapter()
90 if (url_request_ != NULL) { in GetHeader()
91 url_request_->GetResponseHeaderByName(name, &value); in GetHeader()
97 if (url_request_ == NULL) { in GetResponseHeaders()
100 return url_request_->response_headers(); in GetResponseHeaders()
104 if (url_request_ == NULL) in GetNegotiatedProtocol()
106 return url_request_->response_info().npn_negotiated_protocol; in GetNegotiatedProtocol()
118 url_request_->AppendChunkToUpload(bytes.get(), bytes_len, is_last_chunk); in OnAppendChunk()
129 url_request_ = context_->GetURLRequestContext()->CreateRequest( in OnInitiateConnection()
131 url_request_->SetLoadFlags(net::LOAD_DISABLE_CACHE | in OnInitiateConnection()
[all …]
Durl_request_adapter.h141 scoped_ptr<net::URLRequest> url_request_; variable
/external/chromium_org/mojo/services/network/
Durl_loader_impl.cc173 if (url_request_) { in Start()
183 url_request_ = context_->url_request_context()->CreateRequest( in Start()
188 url_request_->set_method(request->method); in Start()
193 url_request_->SetExtraRequestHeaders(headers); in Start()
201 url_request_->set_upload(make_scoped_ptr( in Start()
205 url_request_->SetLoadFlags(net::LOAD_BYPASS_CACHE); in Start()
211 url_request_->Start(); in Start()
216 if (!url_request_) { in FollowRedirect()
228 url_request_->FollowDeferredRedirect(); in FollowRedirect()
234 if (url_request_) { in QueryStatus()
[all …]
Durl_loader_impl.h57 scoped_ptr<net::URLRequest> url_request_; variable
/external/chromium_org/net/websockets/
Dwebsocket_stream.cc97 url_request_(context->CreateRequest(url, DEFAULT_PRIORITY, in StreamRequestImpl()
108 url_request_->SetExtraRequestHeaders(headers); in StreamRequestImpl()
111 url_request_->SetUserData( in StreamRequestImpl()
114 url_request_->SetLoadFlags(LOAD_DISABLE_CACHE | in StreamRequestImpl()
131 url_request_->Start(); in Start()
144 switch (url_request_->status().status()) { in ReportFailure()
149 if (url_request_->status().error() == ERR_TIMED_OUT) in ReportFailure()
157 ErrorToString(url_request_->status().error()); in ReportFailure()
170 url_request_->url(), in OnFinishOpeningHandshake()
171 url_request_->response_headers(), in OnFinishOpeningHandshake()
[all …]
/external/chromium_org/native_client_sdk/src/examples/api/url_loader/
Durl_loader_handler.cc33 url_request_(instance), in URLLoaderHandler()
37 url_request_.SetURL(url); in URLLoaderHandler()
38 url_request_.SetMethod("GET"); in URLLoaderHandler()
39 url_request_.SetRecordDownloadProgress(true); in URLLoaderHandler()
50 url_loader_.Open(url_request_, cc); in Start()
77 url_request_.SetRecordDownloadProgress(false); in OnOpen()
Durl_loader_handler.h78 pp::URLRequestInfo url_request_; variable
/external/chromium_org/chrome/browser/ssl/
Dssl_client_certificate_selector_test.cc82 url_request_ = MakeURLRequest(url_request_context_getter_.get()).release(); in SetUpOnIOThread()
85 url_request_, cert_request_info_.get()); in SetUpOnIOThread()
91 delete url_request_; in TearDownOnIOThread()
Dssl_client_certificate_selector_test.h38 net::URLRequest* url_request_; variable
/external/chromium_org/chrome/browser/ui/views/
Dssl_client_certificate_selector_browsertest.cc41 url_request_(NULL), in SSLClientCertificateSelectorTest()
86 url_request_ = MakeURLRequest(url_request_context_getter_.get()).release(); in SetUpOnIOThread()
89 url_request_, in SetUpOnIOThread()
108 delete url_request_; in CleanUpOnIOThread()
123 net::URLRequest* url_request_; member in SSLClientCertificateSelectorTest
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/
Durl-loading.rst152 url_request_(instance),
156 url_request_.SetURL(url);
157 url_request_.SetMethod("GET");
158 url_request_.SetRecordDownloadProgress(true);
173 url_loader_.Open(url_request_, cc);
203 url_request_.SetRecordDownloadProgress(false);
/external/chromium_org/content/browser/loader/
Dresource_scheduler_unittest.cc55 url_request_(url_request.Pass()) { in TestRequest()
73 const net::URLRequest* url_request() const { return url_request_.get(); } in url_request()
84 scoped_ptr<net::URLRequest> url_request_; member in content::__anon10bd271e0111::TestRequest
/external/chromium_org/net/url_request/
Durl_request_unittest.cc3935 : url_request_(url_request), in AsyncDelegateLogger()
3945 url_request_->LogBlockedBy(kFirstDelegateInfo); in Start()
3946 LoadStateWithParam load_state = url_request_->GetLoadState(); in Start()
3955 url_request_->LogAndReportBlockedBy(kSecondDelegateInfo); in LogSecondDelegate()
3956 LoadStateWithParam load_state = url_request_->GetLoadState(); in LogSecondDelegate()
3969 url_request_->LogUnblocked(); in LogComplete()
3970 LoadStateWithParam load_state = url_request_->GetLoadState(); in LogComplete()
3977 URLRequest* url_request_; member in net::AsyncDelegateLogger