/external/chromium_org/net/url_request/ |
D | url_request_job.cc | 27 : request_(request), in URLRequestJob() 56 if (request_) in Kill() 61 request_ = NULL; in DetachRequest() 147 HttpResponseHeaders* headers = request_->response_headers(); in IsRedirectResponse() 155 *location = request_->url().Resolve(value); in IsRedirectResponse() 252 if (!request_) in NotifyCertificateRequested() 255 request_->NotifyCertificateRequested(cert_request_info); in NotifyCertificateRequested() 260 if (!request_) in NotifySSLCertificateError() 263 request_->NotifySSLCertificateError(ssl_info, fatal); in NotifySSLCertificateError() 267 if (!request_) in CanGetCookies() [all …]
|
D | url_fetcher_core.cc | 379 DCHECK_EQ(request, request_.get()); in OnReceivedRedirect() 384 response_code_ = request_->GetResponseCode(); in OnReceivedRedirect() 385 was_fetched_via_proxy_ = request_->was_fetched_via_proxy(); in OnReceivedRedirect() 392 DCHECK_EQ(request, request_.get()); in OnResponseStarted() 394 if (request_->status().is_success()) { in OnResponseStarted() 395 response_code_ = request_->GetResponseCode(); in OnResponseStarted() 396 response_headers_ = request_->response_headers(); in OnResponseStarted() 397 socket_address_ = request_->GetSocketAddress(); in OnResponseStarted() 398 was_fetched_via_proxy_ = request_->was_fetched_via_proxy(); in OnResponseStarted() 399 total_response_bytes_ = request_->GetExpectedContentSize(); in OnResponseStarted() [all …]
|
D | url_request_simple_job_unittest.cc | 70 request_ = context_.CreateRequest( in URLRequestSimpleJobTest() 76 request_->SetExtraRequestHeaders(*headers); in StartRequest() 77 request_->Start(); in StartRequest() 79 EXPECT_TRUE(request_->is_pending()); in StartRequest() 81 EXPECT_FALSE(request_->is_pending()); in StartRequest() 88 scoped_ptr<URLRequest> request_; member in net::__anon5dd768730111::URLRequestSimpleJobTest 95 ASSERT_TRUE(request_->status().is_success()); in TEST_F() 110 ASSERT_TRUE(request_->status().is_success()); in TEST_F() 127 EXPECT_EQ(ERR_REQUEST_RANGE_NOT_SATISFIABLE, request_->status().error()); in TEST_F() 138 ASSERT_TRUE(request_->status().is_success()); in TEST_F()
|
D | url_request_ftp_job.cc | 33 proxy_service_(request_->context()->proxy_service()), in URLRequestFtpJob() 99 if (request_->load_flags() & LOAD_BYPASS_PROXY) { in Start() 102 DCHECK_EQ(request_->context()->proxy_service(), proxy_service_); in Start() 104 request_->url(), in Start() 105 request_->load_flags(), in Start() 111 request_->net_log()); in Start() 155 ftp_request_info_.url = request_->url(); in StartFtpTransaction() 167 request_->net_log()); in StartFtpTransaction() 183 request_->SetLoadFlags(request_->load_flags() | in StartHttpTransaction() 188 http_request_info_.url = request_->url(); in StartHttpTransaction() [all …]
|
D | url_request_http_job.cc | 244 GURL referrer(request_->referrer()); in Start() 246 request_info_.url = request_->url(); in Start() 247 request_info_.method = request_->method(); in Start() 248 request_info_.load_flags = request_->load_flags(); in Start() 297 request_, in NotifyBeforeSendProxyHeadersCallback() 323 if (sdch_manager && sdch_manager->IsInSupportedDomain(request_->url())) { in NotifyHeadersComplete() 335 GURL sdch_dictionary_url = request_->url().Resolve(url_text); in NotifyHeadersComplete() 337 sdch_manager->FetchDictionary(request_->url(), sdch_dictionary_url); in NotifyHeadersComplete() 376 request_, notify_before_headers_sent_callback_, in StartTransaction() 401 request_->net_log().AddEvent(NetLog::TYPE_CANCELLED, in MaybeStartTransactionInternal() [all …]
|
/external/chromium_org/content/browser/appcache/ |
D | appcache_request_handler_unittest.cc | 212 request_.reset(); in TearDownTest() 257 request_ = empty_context_.CreateRequest( in MainResource_Miss() 259 handler_.reset(host_->CreateRequestHandler(request_.get(), in MainResource_Miss() 263 job_ = handler_->MaybeLoadResource(request_.get(), in MainResource_Miss() 264 request_->context()->network_delegate()); in MainResource_Miss() 285 request_.get(), in Verify_MainResource_Miss() 286 request_->context()->network_delegate(), in Verify_MainResource_Miss() 290 request_.get(), request_->context()->network_delegate()); in Verify_MainResource_Miss() 305 request_ = empty_context_.CreateRequest( in MainResource_Hit() 307 handler_.reset(host_->CreateRequestHandler(request_.get(), in MainResource_Hit() [all …]
|
/external/chromium_org/content/browser/loader/ |
D | resource_loader.cc | 82 request_(request.Pass()), in ResourceLoader() 89 request_->set_delegate(this); in ResourceLoader() 105 if (delegate_->HandleExternalProtocol(this, request_->url())) { in StartRequest() 112 if (!handler_->OnWillStart(request_->url(), &defer_start)) { in StartRequest() 142 net::UploadProgress progress = request_->GetUploadProgress(); in ReportUploadProgress() 161 if (request_->load_flags() & net::LOAD_ENABLE_UPLOAD_PROGRESS) { in ReportUploadProgress() 189 return ResourceRequestInfoImpl::ForRequest(request_.get()); in GetRequestInfo() 207 DCHECK_EQ(request_.get(), unused); in OnReceivedRedirect() 209 VLOG(1) << "OnReceivedRedirect: " << request_->url().spec(); in OnReceivedRedirect() 210 DCHECK(request_->status().is_success()); in OnReceivedRedirect() [all …]
|
/external/chromium_org/content/renderer/fetchers/ |
D | resource_fetcher_impl.cc | 38 : request_(url) { in ResourceFetcherImpl() 47 DCHECK(!request_.isNull()); in SetMethod() 50 request_.setHTTPMethod(blink::WebString::fromUTF8(method)); in SetMethod() 54 DCHECK(!request_.isNull()); in SetBody() 60 request_.setHTTPBody(web_http_body); in SetBody() 65 DCHECK(!request_.isNull()); in SetHeader() 71 request_.url(), in SetHeader() 73 request_.setHTTPReferrer(referrer, blink::WebReferrerPolicyDefault); in SetHeader() 75 request_.setHTTPHeaderField(blink::WebString::fromUTF8(header), in SetHeader() 86 DCHECK(!request_.isNull()); in Start() [all …]
|
/external/chromium_org/chrome/browser/media/ |
D | media_stream_devices_controller.cc | 104 request_(request), in MediaStreamDevicesController() 120 request_.security_origin, in MediaStreamDevicesController() 137 request_.security_origin, in MediaStreamDevicesController() 181 if (request_.audio_type == content::MEDIA_TAB_AUDIO_CAPTURE || in DismissInfoBarAndTakeActionOnSettings() 182 request_.video_type == content::MEDIA_TAB_VIDEO_CAPTURE) { in DismissInfoBarAndTakeActionOnSettings() 189 if (request_.security_origin.is_empty()) { in DismissInfoBarAndTakeActionOnSettings() 197 if (!HasAvailableDevicesForRequest(request_)) { in DismissInfoBarAndTakeActionOnSettings() 234 return request_.security_origin.spec(); in GetSecurityOriginSpec() 245 switch (request_.request_type) { in Accept() 253 request_.audio_type == content::MEDIA_DEVICE_AUDIO_CAPTURE) { in Accept() [all …]
|
/external/chromium_org/ui/file_manager/image_loader/ |
D | request.js | 34 this.request_ = request; 99 return (this.request_.priority !== undefined) ? this.request_.priority : 2; 138 var cacheKey = Cache.createKey(this.request_); 140 if (!this.request_.cache) { 148 if (!this.request_.timestamp) { 155 this.request_.timestamp, 167 if (!this.request_.cache || !this.request_.timestamp) { 172 var cacheKey = Cache.createKey(this.request_); 175 this.request_.timestamp); 190 var dataUrlMatches = this.request_.url.match(/^data:([^,;]*)[,;]/); [all …]
|
/external/chromium_org/content/browser/fileapi/ |
D | file_system_url_request_job_unittest.cc | 184 request_ = empty_context_.CreateRequest( in TestRequestHelper() 187 request_->SetExtraRequestHeaders(*headers); in TestRequestHelper() 189 request_->Start(); in TestRequestHelper() 190 ASSERT_TRUE(request_->is_pending()); // verify that we're starting async in TestRequestHelper() 250 scoped_ptr<net::URLRequest> request_; member in content::FileSystemURLRequestJobTest 259 ASSERT_FALSE(request_->is_pending()); in TEST_F() 263 EXPECT_EQ(200, request_->GetResponseCode()); in TEST_F() 265 request_->GetResponseHeaderByName("cache-control", &cache_control); in TEST_F() 287 ASSERT_FALSE(request_->is_pending()); in TEST_F() 308 ASSERT_FALSE(request_->is_pending()); in TEST_F() [all …]
|
D | file_system_dir_url_request_job_unittest.cc | 135 request_.reset(NULL); in TearDown() 168 request_ = empty_context_.CreateRequest( in TestRequestHelper() 170 request_->Start(); in TestRequestHelper() 171 ASSERT_TRUE(request_->is_pending()); // verify that we're starting async in TestRequestHelper() 284 scoped_ptr<net::URLRequest> request_; member in content::FileSystemDirURLRequestJobTest 303 ASSERT_FALSE(request_->is_pending()); in TEST_F() 328 ASSERT_FALSE(request_->is_pending()); in TEST_F() 330 ASSERT_FALSE(request_->status().is_success()); in TEST_F() 331 EXPECT_EQ(net::ERR_INVALID_URL, request_->status().error()); in TEST_F() 336 ASSERT_FALSE(request_->is_pending()); in TEST_F() [all …]
|
/external/chromium_org/remoting/host/ |
D | token_validator_base.cc | 65 DCHECK(!request_); in ValidateThirdPartyToken() 83 DCHECK_EQ(request_.get(), source); in OnResponseStarted() 86 request_->Read(buffer_.get(), kBufferSize, &bytes_read); in OnResponseStarted() 87 OnReadCompleted(request_.get(), bytes_read); in OnResponseStarted() 92 DCHECK_EQ(request_.get(), source); in OnReadCompleted() 95 if (!request_->status().is_success() || bytes_read <= 0) in OnReadCompleted() 99 } while (request_->Read(buffer_.get(), kBufferSize, &bytes_read)); in OnReadCompleted() 101 const net::URLRequestStatus status = request_->status(); in OnReadCompleted() 105 request_.reset(); in OnReadCompleted() 113 DCHECK_EQ(request_.get(), source); in OnCertificateRequested() [all …]
|
/external/chromium_org/chrome/browser/android/ |
D | intercept_download_resource_throttle.cc | 21 : request_(request), in InterceptDownloadResourceThrottle() 39 if (request_->url_chain().empty()) in ProcessDownloadRequest() 42 GURL url = request_->url_chain().back(); in ProcessDownloadRequest() 46 if (request_->method() != net::HttpRequestHeaders::kGetMethod) in ProcessDownloadRequest() 50 if (!request_->GetFullRequestHeaders(&headers)) in ProcessDownloadRequest() 57 if (request_->response_info().did_use_http_auth) { in ProcessDownloadRequest() 59 !(request_->response_info().headers && in ProcessDownloadRequest() 61 request_->response_info().headers, NULL))) { in ProcessDownloadRequest()
|
/external/chromium_org/chrome/browser/local_discovery/ |
D | gcd_api_flow_impl.cc | 35 request_ = request.Pass(); in Start() 37 oauth_scopes.insert(request_->GetOAuthScope()); in Start() 46 CreateRequest(request_->GetURL()); in OnGetTokenSuccess() 60 request_->OnGCDAPIFlowError(ERROR_TOKEN); in OnGetTokenFailure() 64 net::URLFetcher::RequestType request_type = request_->GetRequestType(); in CreateRequest() 71 request_->GetUploadData(&upload_type, &upload_data); in CreateRequest() 77 std::vector<std::string> extra_headers = request_->GetExtraRequestHeaders(); in CreateRequest() 91 request_->OnGCDAPIFlowError(ERROR_NETWORK); in OnURLFetchComplete() 96 request_->OnGCDAPIFlowError(ERROR_HTTP_CODE); in OnURLFetchComplete() 105 request_->OnGCDAPIFlowError(ERROR_MALFORMED_RESPONSE); in OnURLFetchComplete() [all …]
|
/external/chromium_org/content/browser/ssl/ |
D | ssl_client_auth_handler.cc | 24 : request_(request), in SSLClientAuthHandler() 26 request_->context()->http_transaction_factory()->GetSession()), in SSLClientAuthHandler() 38 request_ = NULL; in OnRequestCancelled() 43 DCHECK(request_); in SelectCertificate() 69 if (!request_) in DidGetClientCerts() 84 if (!ResourceRequestInfo::ForRequest(request_)->GetAssociatedRenderFrame( in DidGetClientCerts() 106 if (request_) { in DoCertificateSelected() 107 request_->ContinueWithCertificate(cert); in DoCertificateSelected() 110 ClearSSLClientAuthHandlerForRequest(request_); in DoCertificateSelected() 111 request_ = NULL; in DoCertificateSelected()
|
/external/chromium_org/google_apis/gaia/ |
D | gaia_oauth_client.cc | 98 scoped_ptr<net::URLFetcher> request_; member in gaia::GaiaOAuthClient::Core 171 DCHECK(!request_.get()); in GetUserInfoImpl() 175 request_.reset(net::URLFetcher::Create( in GetUserInfoImpl() 178 request_->SetRequestContext(request_context_getter_.get()); in GetUserInfoImpl() 179 request_->AddExtraRequestHeader("Authorization: OAuth " + oauth_access_token); in GetUserInfoImpl() 180 request_->SetMaxRetriesOn5xx(max_retries); in GetUserInfoImpl() 181 request_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | in GetUserInfoImpl() 188 request_->SetAutomaticallyRetryOnNetworkChanges(3); in GetUserInfoImpl() 189 request_->Start(); in GetUserInfoImpl() 196 DCHECK(!request_.get()); in GetTokenInfo() [all …]
|
/external/chromium_org/content/shell/renderer/test_runner/ |
D | mock_web_user_media_client.cc | 44 request_(request), in UserMediaRequestTask() 49 virtual void RunIfValid() OVERRIDE { request_.requestSucceeded(result_); } in RunIfValid() 52 WebUserMediaRequest request_; member in content::UserMediaRequestTask 65 request_(request), in UserMediaRequestConstraintFailedTask() 69 request_.requestFailedConstraint(constraint_); in RunIfValid() 73 WebUserMediaRequest request_; member in content::UserMediaRequestConstraintFailedTask 85 request_(request) {} in UserMediaRequestPermissionDeniedTask() 87 virtual void RunIfValid() OVERRIDE { request_.requestFailed(); } in RunIfValid() 90 WebUserMediaRequest request_; member in content::UserMediaRequestPermissionDeniedTask 101 request_(request), in MediaDevicesRequestTask() [all …]
|
/external/chromium_org/net/quic/ |
D | quic_http_stream_test.cc | 321 HttpRequestInfo request_; member in net::test::QuicHttpStreamTest 365 request_.method = "GET"; in TEST_P() 366 request_.url = GURL("http://www.google.com/"); in TEST_P() 368 EXPECT_EQ(OK, stream_->InitializeStream(&request_, DEFAULT_PRIORITY, in TEST_P() 404 request_.method = "GET"; in TEST_P() 405 request_.url = GURL("http://www.google.com/"); in TEST_P() 407 EXPECT_EQ(OK, stream_->InitializeStream(&request_, DEFAULT_PRIORITY, in TEST_P() 448 request_.method = "GET"; in TEST_P() 449 request_.url = GURL("http://www.google.com/"); in TEST_P() 451 EXPECT_EQ(OK, stream_->InitializeStream(&request_, DEFAULT_PRIORITY, in TEST_P() [all …]
|
D | quic_end_to_end_unittest.cc | 83 request_.method = "GET"; in QuicEndToEndTest() 84 request_.url = GURL("http://www.google.com/"); in QuicEndToEndTest() 85 request_.load_flags = 0; in QuicEndToEndTest() 193 request_.method = "POST"; in InitializePostRequest() 194 request_.url = GURL("http://www.google.com/"); in InitializePostRequest() 195 request_.upload_data_stream = upload_data_stream_.get(); in InitializePostRequest() 196 ASSERT_EQ(OK, request_.upload_data_stream->Init(CompletionCallback())); in InitializePostRequest() 220 HttpRequestInfo request_; member in net::test::QuicEndToEndTest 234 AddToCache("GET", request_.url.spec(), in TEST_F() 240 consumer.Start(&request_, BoundNetLog()); in TEST_F() [all …]
|
/external/chromium_org/android_webview/browser/ |
D | aw_login_delegate.cc | 43 request_(request), in AwLoginDelegate() 103 if (request_) { in CancelOnIOThread() 104 request_->CancelAuth(); in CancelOnIOThread() 105 ResourceDispatcherHost::Get()->ClearLoginDelegateForRequest(request_); in CancelOnIOThread() 106 request_ = NULL; in CancelOnIOThread() 114 if (request_) { in ProceedOnIOThread() 115 request_->SetAuth(net::AuthCredentials(user, password)); in ProceedOnIOThread() 116 ResourceDispatcherHost::Get()->ClearLoginDelegateForRequest(request_); in ProceedOnIOThread() 117 request_ = NULL; in ProceedOnIOThread() 124 request_ = NULL; in OnRequestCancelled()
|
/external/chromium_org/android_webview/native/permission/ |
D | media_access_permission_request.cc | 41 : request_(request), in MediaAccessPermissionRequest() 56 if (request_.audio_type == content::MEDIA_DEVICE_AUDIO_CAPTURE) { in NotifyRequestResult() 61 audio_devices, request_.requested_audio_device_id); in NotifyRequestResult() 66 if (request_.video_type == content::MEDIA_DEVICE_VIDEO_CAPTURE) { in NotifyRequestResult() 71 video_devices, request_.requested_video_device_id); in NotifyRequestResult() 81 return request_.security_origin; in GetOrigin() 85 return (request_.audio_type == content::MEDIA_DEVICE_AUDIO_CAPTURE ? in GetResources() 87 (request_.video_type == content::MEDIA_DEVICE_VIDEO_CAPTURE ? in GetResources()
|
/external/chromium_org/content/browser/streams/ |
D | stream_url_request_job_unittest.cc | 78 request_ = url_request_context_.CreateRequest( in TestRequest() 80 request_->set_method(method); in TestRequest() 82 request_->SetExtraRequestHeaders(extra_headers); in TestRequest() 83 request_->Start(); in TestRequest() 88 EXPECT_TRUE(request_->status().is_success()); in TestRequest() 89 ASSERT_TRUE(request_->response_headers()); in TestRequest() 91 request_->response_headers()->response_code()); in TestRequest() 101 scoped_ptr<net::URLRequest> request_; member in content::StreamURLRequestJobTest 136 request_ = url_request_context_.CreateRequest( in TEST_F() 138 request_->set_method("GET"); in TEST_F() [all …]
|
/external/chromium_org/content/child/ |
D | resource_dispatcher.cc | 93 ResourceHostMsg_Request request_; member in content::IPCResourceLoaderBridge 115 request_.method = request_info.method; in IPCResourceLoaderBridge() 116 request_.url = request_info.url; in IPCResourceLoaderBridge() 117 request_.first_party_for_cookies = request_info.first_party_for_cookies; in IPCResourceLoaderBridge() 118 request_.referrer = request_info.referrer; in IPCResourceLoaderBridge() 119 request_.referrer_policy = request_info.referrer_policy; in IPCResourceLoaderBridge() 120 request_.headers = request_info.headers; in IPCResourceLoaderBridge() 121 request_.load_flags = request_info.load_flags; in IPCResourceLoaderBridge() 122 request_.origin_pid = request_info.requestor_pid; in IPCResourceLoaderBridge() 123 request_.resource_type = request_info.request_type; in IPCResourceLoaderBridge() [all …]
|
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
D | usbsignhandler.js | 19 this.request_ = request; 46 if (!this.request_.signData || !this.request_.signData.length) { 53 this.request_.timeoutSeconds ? 54 this.request_.timeoutSeconds * 1000 : 62 this.request_.logMsgUrl); 63 return this.signer_.doSign(this.request_.signData);
|