| Index: net/url_request/url_request_job.h
|
| diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
|
| index 56e1307cb041b5a051cc4aec8115d51a291bf97a..ae956733ee700aae6e3759ee6b43b62c2e9adfbe 100644
|
| --- a/net/url_request/url_request_job.h
|
| +++ b/net/url_request/url_request_job.h
|
| @@ -17,6 +17,7 @@
|
| #include "net/base/host_port_pair.h"
|
| #include "net/base/load_states.h"
|
| #include "net/base/net_export.h"
|
| +#include "net/base/request_priority.h"
|
| #include "net/base/upload_progress.h"
|
| #include "net/cookies/canonical_cookie.h"
|
|
|
| @@ -53,9 +54,14 @@ class NET_EXPORT URLRequestJob : public base::RefCounted<URLRequestJob>,
|
| // Job types supporting upload data will override this.
|
| virtual void SetUpload(UploadDataStream* upload_data_stream);
|
|
|
| - // Sets extra request headers for Job types that support request headers.
|
| + // Sets extra request headers for Job types that support request
|
| + // headers. Called once before Start() is called.
|
| virtual void SetExtraRequestHeaders(const HttpRequestHeaders& headers);
|
|
|
| + // Sets the priority of the job. Called once before Start() is
|
| + // called, but also when the priority of the parent request changes.
|
| + virtual void SetPriority(RequestPriority priority);
|
| +
|
| // If any error occurs while starting the Job, NotifyStartError should be
|
| // called.
|
| // This helps ensure that all errors follow more similar notification code
|
|
|