Home | History | Annotate | Download | only in url_request

Lines Matching refs:job

37     // Called after the given job has been added to the list
38 virtual void OnJobAdded(URLRequestJob* job) = 0;
40 // Called after the given job has been removed from the list
41 virtual void OnJobRemoved(URLRequestJob* job) = 0;
43 // Called when the given job has completed, before notifying the request
44 virtual void OnJobDone(URLRequestJob* job,
47 // Called when the given job is about to follow a redirect to the given
49 virtual void OnJobRedirect(URLRequestJob* job, const GURL& location,
53 // the given job. |byte_count| is the number of bytes for that
57 virtual void OnBytesRead(URLRequestJob* job, const char* buf,
73 // adds or removes the job from the active list, should be called by the
74 // job constructor and destructor. Note: don't use "AddJob" since that
76 void AddNewJob(URLRequestJob* job);
77 void RemoveJob(URLRequestJob* job);
79 // Job status change notifications
80 void OnJobDone(URLRequestJob* job, const URLRequestStatus& status);
81 void OnJobRedirect(URLRequestJob* job, const GURL& location,
85 void OnBytesRead(URLRequestJob* job, const char* buf, int byte_count);