Lines Matching refs:request
38 int NotifyBeforeURLRequest(URLRequest* request,
44 void NotifyResponseStarted(URLRequest* request);
45 void NotifyReadCompleted(URLRequest* request, int bytes_read);
46 void NotifyURLRequestDestroyed(URLRequest* request);
48 // Returns a URLRequestJob that will be used to handle the request if
51 // so that we can perform Delegate-dependent request handling from the static
54 URLRequestJob* MaybeCreateURLRequestJob(URLRequest* request);
61 // Called before a request is sent. Allows the delegate to rewrite the URL
63 // time, but will have no effect if the request has already been cancelled or
65 // the request or ERR_IO_PENDING if the result is not ready yet.
66 virtual int OnBeforeURLRequest(URLRequest* request,
73 // request has been cancelled. Returns a net status code.
79 virtual void OnResponseStarted(URLRequest* request) = 0;
82 virtual void OnReadCompleted(URLRequest* request, int bytes_read) = 0;
84 // Called when an URLRequest is being destroyed. Note that the request is
87 virtual void OnURLRequestDestroyed(URLRequest* request) = 0;
89 // Called before a request is sent and before a URLRequestJob is created to
90 // handle the request.
91 virtual URLRequestJob* OnMaybeCreateURLRequestJob(URLRequest* request) = 0;