diff options
Diffstat (limited to 'net/url_request/url_request.h')
-rw-r--r-- | net/url_request/url_request.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h index fb81500..4abc1b1 100644 --- a/net/url_request/url_request.h +++ b/net/url_request/url_request.h @@ -10,9 +10,9 @@ #include <string> #include <vector> +#include "base/basictypes.h" #include "base/debug/leak_tracker.h" #include "base/linked_ptr.h" -#include "base/logging.h" #include "base/non_thread_safe.h" #include "base/ref_counted.h" #include "base/string16.h" @@ -535,11 +535,7 @@ class URLRequest : public NonThreadSafe { // Returns the priority level for this request. net::RequestPriority priority() const { return priority_; } - void set_priority(net::RequestPriority priority) { - DCHECK_GE(priority, net::HIGHEST); - DCHECK_LT(priority, net::NUM_PRIORITIES); - priority_ = priority; - } + void set_priority(net::RequestPriority priority); #ifdef UNIT_TEST URLRequestJob* job() { return job_; } |