Index: net/url_request/url_request.h |
=================================================================== |
--- net/url_request/url_request.h (revision 67155) |
+++ net/url_request/url_request.h (working copy) |
@@ -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" |
@@ -534,11 +534,7 @@ |
// 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_; } |