Index: net/url_request/url_request_test_job.h |
diff --git a/net/url_request/url_request_test_job.h b/net/url_request/url_request_test_job.h |
index 0c46d1beb477a977a6434ba5ee014c8705f9d535..52ef03698bdf35cc264566cb777111e0e50954bb 100644 |
--- a/net/url_request/url_request_test_job.h |
+++ b/net/url_request/url_request_test_job.h |
@@ -104,6 +104,11 @@ class NET_EXPORT_PRIVATE URLRequestTestJob : public URLRequestJob { |
virtual int GetResponseCode() const OVERRIDE; |
virtual bool IsRedirectResponse(GURL* location, |
int* http_status_code) OVERRIDE; |
+ virtual void SetPriority(RequestPriority priority) OVERRIDE; |
+ |
+ RequestPriority priority() const { |
+ return priority_; |
+ } |
protected: |
// Override to specify whether the next read done from this job will |
@@ -132,6 +137,8 @@ class NET_EXPORT_PRIVATE URLRequestTestJob : public URLRequestJob { |
Stage stage_; |
+ RequestPriority priority_; |
+ |
// The headers the job should return, will be set in Start() if not provided |
// in the explicit ctor. |
scoped_refptr<HttpResponseHeaders> response_headers_; |