/external/chromium_org/chrome/browser/android/ |
intercept_download_resource_throttle.cc | 24 : request_(request), 46 if (request_->method() != net::HttpRequestHeaders::kGetMethod) 53 if (request_->response_info().did_use_http_auth) { 56 request_->GetFullRequestHeaders(&headers); 59 request_->response_info().headers)) { 67 if (request_->url_chain().empty()) 70 GURL url = request_->url_chain().back();
|
/external/chromium_org/net/url_request/ |
url_request_job.cc | 26 : request_(request), 56 if (request_) 61 request_ = NULL; 144 HttpResponseHeaders* headers = request_->response_headers(); 152 *location = request_->url().Resolve(value); 243 if (!request_) 246 request_->NotifyCertificateRequested(cert_request_info); 251 if (!request_) 254 request_->NotifySSLCertificateError(ssl_info, fatal); 258 if (!request_) [all...] |
url_fetcher_core.cc | 374 DCHECK_EQ(request, request_.get()); 379 response_code_ = request_->GetResponseCode(); 380 was_fetched_via_proxy_ = request_->was_fetched_via_proxy(); 387 DCHECK_EQ(request, request_.get()); 389 if (request_->status().is_success()) { 390 response_code_ = request_->GetResponseCode(); 391 response_headers_ = request_->response_headers(); 392 socket_address_ = request_->GetSocketAddress(); 393 was_fetched_via_proxy_ = request_->was_fetched_via_proxy(); 394 total_response_bytes_ = request_->GetExpectedContentSize() [all...] |
/external/chromium/net/url_request/ |
url_request_job.cc | 25 : request_(request), 49 if (request_) 54 request_ = NULL; 121 HttpResponseHeaders* headers = request_->response_headers(); 129 *location = request_->url().Resolve(value); 211 if (!request_ || !request_->delegate()) 217 DCHECK(!request_->status().is_io_pending()); 222 request_->response_info_.response_time = base::Time::Now(); 223 GetResponseInfo(&request_->response_info_) [all...] |
url_request_http_job.cc | 255 SdchManager::Global()->IsInSupportedDomain(request_->url())) { 266 // request_->url() won't be valid in the destructor, so we use an 268 DCHECK_EQ(request_->url(), request_info_.url); 312 DCHECK(request_->context()); 313 DCHECK(request_->context()->http_transaction_factory()); 315 rv = request_->context()->http_transaction_factory()->CreateTransaction( 321 &request_info_, &start_callback_, request_->net_log()); 328 context_ = request_->context(); 347 SdchManager::Global()->IsInSupportedDomain(request_->url()); 350 SdchManager::Global()->GetAvailDictionaryList(request_->url() [all...] |
/external/chromium_org/content/browser/loader/ |
resource_handler.cc | 13 request_(request) { 21 return ResourceRequestInfoImpl::ForRequest(request_);
|
resource_loader.cc | 72 request_(request.Pass()), 79 request_->set_delegate(this); 95 if (delegate_->HandleExternalProtocol(this, request_->url())) { 102 if (!handler_->OnWillStart(GetRequestInfo()->GetRequestID(), request_->url(), 135 net::UploadProgress progress = request_->GetUploadProgress(); 154 if (request_->load_flags() & net::LOAD_ENABLE_UPLOAD_PROGRESS) { 182 return ResourceRequestInfoImpl::ForRequest(request_.get()); 200 DCHECK_EQ(request_.get(), unused); 202 VLOG(1) << "OnReceivedRedirect: " << request_->url().spec(); 203 DCHECK(request_->status().is_success()) [all...] |
/external/chromium_org/webkit/browser/appcache/ |
appcache_request_handler_unittest.cc | 211 request_.reset(); 255 request_.reset(new MockURLRequest(GURL("http://blah/"), &empty_context_)); 256 handler_.reset(host_->CreateRequestHandler(request_.get(), 260 job_ = handler_->MaybeLoadResource(request_.get(), 261 request_->context()->network_delegate()); 282 request_.get(), 283 request_->context()->network_delegate(), 287 request_.get(), request_->context()->network_delegate()); 302 request_.reset(new MockURLRequest(GURL("http://blah/"), &empty_context_)) 886 scoped_ptr<MockURLRequest> request_; member in class:appcache::AppCacheRequestHandlerTest [all...] |
/external/chromium_org/content/browser/ssl/ |
ssl_client_auth_handler.cc | 24 : request_(request), 26 request_->context()->http_transaction_factory()->GetSession()), 38 request_ = NULL; 43 DCHECK(request_); 69 if (!request_) 84 if (!ResourceRequestInfo::ForRequest(request_)->GetAssociatedRenderView( 103 // request_ could have been NULLed if the request was cancelled while the 106 if (request_) { 107 request_->ContinueWithCertificate(cert); 110 ClearSSLClientAuthHandlerForRequest(request_); [all...] |
/external/chromium_org/chrome/browser/prerender/ |
prerender_pending_swap_throttle.cc | 20 : request_(request), 28 content::ResourceRequestInfo::ForRequest(request_); 39 request_->url())) { 46 request_->url(),
|
prerender_resource_throttle.cc | 23 : request_(request), 30 content::ResourceRequestInfo::ForRequest(request_); 41 if (!prerender::PrerenderManager::IsValidHttpMethod(request_->method()) && 48 request_->url()) && 51 ReportUnsupportedPrerenderScheme(request_->url()); 62 content::ResourceRequestInfo::ForRequest(request_); 83 request_->GetResponseHeaderByName(kFollowOnlyWhenPrerenderShown, &header);
|
/external/chromium/net/base/ |
test_completion_callback_unittest.cc | 38 scoped_refptr<ExampleWorker> request_; member in class:ExampleEmployer 91 employer_->request_ = NULL; 103 DCHECK(!request_) << "already in use"; 105 request_ = new ExampleWorker(this, callback); 109 NewRunnableMethod(request_.get(), &ExampleWorker::DoWork), true)) { 111 request_ = NULL;
|
/external/chromium_org/net/base/ |
test_completion_callback_unittest.cc | 36 scoped_refptr<ExampleWorker> request_; member in class:ExampleEmployer 85 employer_->request_ = NULL; 97 DCHECK(!request_.get()) << "already in use"; 99 request_ = new ExampleWorker(this, callback); 104 base::Bind(&ExampleWorker::DoWork, request_.get()), 107 request_ = NULL;
|
/external/chromium_org/android_webview/browser/ |
aw_login_delegate.cc | 42 request_(request), 107 if (request_) { 108 request_->CancelAuth(); 109 ResourceDispatcherHost::Get()->ClearLoginDelegateForRequest(request_); 110 request_ = NULL; 118 if (request_) { 119 request_->SetAuth(net::AuthCredentials(user, password)); 120 ResourceDispatcherHost::Get()->ClearLoginDelegateForRequest(request_); 121 request_ = NULL; 128 request_ = NULL [all...] |
/external/chromium_org/chrome/browser/media/ |
media_stream_devices_controller.cc | 73 request_(request), 144 if (request_.audio_type == content::MEDIA_TAB_AUDIO_CAPTURE || 145 request_.video_type == content::MEDIA_TAB_VIDEO_CAPTURE) { 152 if (request_.security_origin.is_empty()) { 182 if (request_.request_type == content::MEDIA_OPEN_DEVICE) { 184 (request_.audio_type == content::MEDIA_DEVICE_AUDIO_CAPTURE && 185 !request_.requested_audio_device_id.empty() && 187 request_.requested_audio_device_id) == NULL); 189 (request_.video_type == content::MEDIA_DEVICE_VIDEO_CAPTURE && 190 !request_.requested_video_device_id.empty() & [all...] |
/external/chromium_org/content/browser/fileapi/ |
file_system_url_request_job_unittest.cc | 102 request_ = empty_context_.CreateRequest( 105 request_->SetExtraRequestHeaders(*headers); 108 request_.get(), NULL, file_system_context); 111 request_->Start(); 112 ASSERT_TRUE(request_->is_pending()); // verify that we're starting async 187 scoped_ptr<net::URLRequest> request_; member in class:fileapi::FileSystemURLRequestJobTest 202 ASSERT_FALSE(request_->is_pending()); 206 EXPECT_EQ(200, request_->GetResponseCode()); 208 request_->GetResponseHeaderByName("cache-control", &cache_control); 230 ASSERT_FALSE(request_->is_pending()) [all...] |
file_system_dir_url_request_job_unittest.cc | 69 request_.reset(NULL); 86 request_ = empty_context_.CreateRequest( 89 request_.get(), NULL, file_system_context); 91 request_->Start(); 92 ASSERT_TRUE(request_->is_pending()); // verify that we're starting async 221 scoped_ptr<net::URLRequest> request_; member in class:fileapi::FileSystemDirURLRequestJobTest 244 ASSERT_FALSE(request_->is_pending()); 268 ASSERT_FALSE(request_->is_pending()); 270 ASSERT_FALSE(request_->status().is_success()); 271 EXPECT_EQ(net::ERR_INVALID_URL, request_->status().error()) [all...] |
/external/chromium/chrome/browser/automation/ |
url_request_automation_job.cc | 157 DVLOG(1) << "URLRequestAutomationJob: " << request_->url().spec() 197 if (request_->url().SchemeIsSecure()) { 204 new net::X509Certificate(request_->url().GetWithEmptyPath().spec(), 233 if (request_ && request_->status().is_success()) { 238 ResourceDispatcherHost::InfoForRequest(request_); 267 if (!request_) { 283 DVLOG(1) << "URLRequestAutomationJob: " << request_->url().spec() 304 DVLOG(1) << "URLRequestAutomationJob: " << request_->url().spec() 330 if (request_) [all...] |
/external/chromium/chrome/common/net/ |
url_fetcher.cc | 128 scoped_ptr<net::URLRequest> request_; // The actual request this wraps member in class:URLFetcher::Core 238 request_(NULL), 248 // |request_| should be NULL. If not, it's unsafe to delete it here since we 250 DCHECK(!request_.get()); 287 DCHECK_EQ(request, request_.get()); 289 if (request_->status().is_success()) { 290 response_code_ = request_->GetResponseCode(); 291 response_headers_ = request_->response_headers(); 299 if (request_->status().is_success() && (request_type_ != HEAD)) 300 request_->Read(buffer_, kBufferSize, &bytes_read) [all...] |
/external/chromium_org/content/browser/streams/ |
stream_url_request_job_unittest.cc | 78 request_ = url_request_context_.CreateRequest( 80 request_->set_method(method); 82 request_->SetExtraRequestHeaders(extra_headers); 83 request_->Start(); 88 EXPECT_TRUE(request_->status().is_success()); 89 ASSERT_TRUE(request_->response_headers()); 91 request_->response_headers()->response_code()); 101 scoped_ptr<net::URLRequest> request_; member in class:content::StreamURLRequestJobTest 136 request_ = url_request_context_.CreateRequest( 138 request_->set_method("GET") [all...] |
/external/chromium_org/google_apis/gaia/ |
gaia_oauth_client.cc | 93 scoped_ptr<net::URLFetcher> request_; member in class:gaia::GaiaOAuthClient::Core 146 DCHECK(!request_.get()); 155 DCHECK(!request_.get()); 165 request_.reset(net::URLFetcher::Create( 168 request_->SetRequestContext(request_context_getter_.get()); 169 request_->AddExtraRequestHeader("Authorization: OAuth " + oauth_access_token); 170 request_->SetMaxRetriesOn5xx(max_retries); 171 request_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | 178 request_->SetAutomaticallyRetryOnNetworkChanges(3); 179 request_->Start() [all...] |
/external/chromium_org/chrome/browser/renderer_host/ |
offline_resource_throttle.cc | 64 : request_(request), 77 if (!ShouldShowOfflinePage(request_->url())) 80 DVLOG(1) << "WillStartRequest: this=" << this << ", url=" << request_->url(); 82 const GURL* url = &(request_->url()); 83 const GURL* first_party = &(request_->first_party_for_cookies()); 88 if (request_->GetHSTSRedirect(&redirect_url)) { 139 content::ResourceRequestInfo::ForRequest(request_); 147 request_->url(),
|
/external/chromium_org/components/navigation_interception/ |
intercept_navigation_resource_throttle.cc | 62 : request_(request), 73 CheckIfShouldIgnoreNavigation(request_->url(), request_->method(), false); 88 net::HttpResponseHeaders* headers = request_->response_headers(); 90 return request_->method(); 92 request_->method(), headers->response_code()); 99 const ResourceRequestInfo* info = ResourceRequestInfo::ForRequest(request_); 108 Referrer(GURL(request_->referrer()),
|
/external/chromium_org/remoting/host/ |
token_validator_factory_impl.cc | 64 DCHECK(!request_); 76 request_.reset(net::URLFetcher::Create( 78 request_->SetUploadData("application/x-www-form-urlencoded", post_body); 79 request_->SetRequestContext(request_context_getter_.get()); 80 request_->Start(); 93 DCHECK_EQ(request_.get(), source); 95 request_.reset(); 116 net::URLRequestStatus status = request_->GetStatus(); 123 int response = request_->GetResponseCode(); 125 request_->GetResponseAsString(&data) 155 scoped_ptr<net::URLFetcher> request_; member in class:remoting::TokenValidatorImpl [all...] |
/external/chromium_org/net/quic/ |
quic_end_to_end_unittest.cc | 87 request_.method = "GET"; 88 request_.url = GURL("http://www.google.com/"); 89 request_.load_flags = 0; 182 // Initializes |request_| for a post of |length| bytes. 190 request_.method = "POST"; 191 request_.url = GURL("http://www.google.com/"); 192 request_.upload_data_stream = upload_data_stream_.get(); 193 ASSERT_EQ(OK, request_.upload_data_stream->Init(CompletionCallback())); 217 HttpRequestInfo request_; member in class:net::test::QuicEndToEndTest 231 AddToCache("GET", request_.url.spec() [all...] |