Lines Matching defs:URLRequest

74 // True once the first URLRequest was started.
80 // When the URLRequest first assempts load timing information, it has the times
143 void URLRequest::Deprecated::RegisterRequestInterceptor(
145 URLRequest::RegisterRequestInterceptor(interceptor);
148 void URLRequest::Deprecated::UnregisterRequestInterceptor(
150 URLRequest::UnregisterRequestInterceptor(interceptor);
154 // URLRequest::Interceptor
156 URLRequestJob* URLRequest::Interceptor::MaybeInterceptRedirect(
157 URLRequest* request,
163 URLRequestJob* URLRequest::Interceptor::MaybeInterceptResponse(
164 URLRequest* request, NetworkDelegate* network_delegate) {
169 // URLRequest::Delegate
171 void URLRequest::Delegate::OnReceivedRedirect(URLRequest* request,
176 void URLRequest::Delegate::OnAuthRequired(URLRequest* request,
181 void URLRequest::Delegate::OnCertificateRequested(
182 URLRequest* request,
187 void URLRequest::Delegate::OnSSLCertificateError(URLRequest* request,
193 void URLRequest::Delegate::OnBeforeNetworkStart(URLRequest* request,
198 // URLRequest
200 URLRequest::~URLRequest() {
223 void URLRequest::EnableChunkedUpload() {
231 void URLRequest::AppendChunkToUpload(const char* bytes,
240 void URLRequest::set_upload(scoped_ptr<UploadDataStream> upload) {
245 const UploadDataStream* URLRequest::get_upload() const {
249 bool URLRequest::has_upload() const {
253 void URLRequest::SetExtraRequestHeaderById(int id, const string& value,
259 void URLRequest::SetExtraRequestHeaderByName(const string& name,
270 void URLRequest::RemoveRequestHeaderByName(const string& name) {
275 void URLRequest::SetExtraRequestHeaders(
284 bool URLRequest::GetFullRequestHeaders(HttpRequestHeaders* headers) const {
291 int64 URLRequest::GetTotalReceivedBytes() const {
298 LoadStateWithParam URLRequest::GetLoadState() const {
311 base::Value* URLRequest::GetStateAsValue() const {
359 void URLRequest::LogBlockedBy(const char* blocked_by) {
377 void URLRequest::LogAndReportBlockedBy(const char* source) {
382 void URLRequest::LogUnblocked() {
390 UploadProgress URLRequest::GetUploadProgress() const {
404 void URLRequest::GetResponseHeaderById(int id, string* value) {
409 void URLRequest::GetResponseHeaderByName(const string& name, string* value) {
418 void URLRequest::GetAllResponseHeaders(string* headers) {
427 HostPortPair URLRequest::GetSocketAddress() const {
432 HttpResponseHeaders* URLRequest::response_headers() const {
436 void URLRequest::GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const {
440 bool URLRequest::GetResponseCookies(ResponseCookies* cookies) {
445 void URLRequest::GetMimeType(string* mime_type) const {
450 void URLRequest::GetCharset(string* charset) const {
455 int URLRequest::GetResponseCode() const {
460 void URLRequest::SetLoadFlags(int flags) {
475 void URLRequest::SetDefaultCookiePolicyToBlock() {
481 bool URLRequest::IsHandledProtocol(const std::string& scheme) {
486 bool URLRequest::IsHandledURL(const GURL& url) {
495 void URLRequest::set_first_party_for_cookies(
501 void URLRequest::set_first_party_url_policy(
507 void URLRequest::set_method(const std::string& method) {
513 std::string URLRequest::ComputeMethodForRedirect(
532 void URLRequest::SetReferrer(const std::string& referrer) {
542 void URLRequest::set_referrer_policy(ReferrerPolicy referrer_policy) {
547 void URLRequest::set_delegate(Delegate* delegate) {
551 void URLRequest::Start() {
584 URLRequest::URLRequest(const GURL& url,
608 before_request_callback_(base::Bind(&URLRequest::BeforeRequestComplete,
626 void URLRequest::RegisterRequestInterceptor(Interceptor* interceptor) {
631 void URLRequest::UnregisterRequestInterceptor(Interceptor* interceptor) {
636 void URLRequest::BeforeRequestComplete(int error) {
665 void URLRequest::StartJob(URLRequestJob* job) {
717 void URLRequest::Restart() {
724 void URLRequest::RestartWithJob(URLRequestJob *job) {
730 void URLRequest::Cancel() {
734 void URLRequest::CancelWithError(int error) {
738 void URLRequest::CancelWithSSLError(int error, const SSLInfo& ssl_info) {
747 void URLRequest::DoCancel(int error, const SSLInfo& ssl_info) {
783 bool URLRequest::Read(IOBuffer* dest, int dest_size, int* bytes_read) {
817 void URLRequest::StopCaching() {
822 void URLRequest::NotifyReceivedRedirect(const RedirectInfo& redirect_info,
839 void URLRequest::NotifyBeforeNetworkStart(bool* defer) {
849 void URLRequest::ResumeNetworkStart() {
857 void URLRequest::NotifyResponseStarted() {
890 void URLRequest::FollowDeferredRedirect() {
897 void URLRequest::SetAuth(const AuthCredentials& credentials) {
904 void URLRequest::CancelAuth() {
911 void URLRequest::ContinueWithCertificate(X509Certificate* client_cert) {
917 void URLRequest::ContinueDespiteLastError() {
923 void URLRequest::PrepareToRestart() {
943 void URLRequest::OrphanJob() {
949 // - OrphanJob is called in ~URLRequest, in this case
957 int URLRequest::Redirect(const RedirectInfo& redirect_info) {
1012 const URLRequestContext* URLRequest::context() const {
1016 int64 URLRequest::GetExpectedContentSize() const {
1024 void URLRequest::SetPriority(RequestPriority priority) {
1046 bool URLRequest::GetHSTSRedirect(GURL* redirect_url) const {
1061 void URLRequest::NotifyAuthRequired(AuthChallengeInfo* auth_info) {
1070 base::Bind(&URLRequest::NotifyAuthRequiredComplete,
1080 void URLRequest::NotifyAuthRequiredComplete(
1097 // Defer to the URLRequest::Delegate, since the NetworkDelegate
1117 void URLRequest::NotifyCertificateRequested(
1123 void URLRequest::NotifySSLCertificateError(const SSLInfo& ssl_info,
1129 bool URLRequest::CanGetCookies(const CookieList& cookie_list) const {
1137 bool URLRequest::CanSetCookie(const std::string& cookie_line,
1146 bool URLRequest::CanEnablePrivacyMode() const {
1155 void URLRequest::NotifyReadCompleted(int bytes_read) {
1173 void URLRequest::OnHeadersComplete() {
1178 // Keep a copy of the two times the URLRequest sets.
1194 void URLRequest::NotifyRequestCompleted() {
1207 void URLRequest::OnCallToDelegate() {
1214 void URLRequest::OnCallToDelegateComplete() {
1223 void URLRequest::set_stack_trace(const base::debug::StackTrace& stack_trace) {
1230 const base::debug::StackTrace* URLRequest::stack_trace() const {