summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 03:04:46 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-30 03:04:46 +0000
commit381bc458bfc58a239f3dfe69b008c6d3522869a2 (patch)
tree47d1ce68c60dbf2590e92c5fcf8ad4954a42aa12 /net/url_request/url_request.h
parent7781bb91a12839e409b9904c06d8f9072d1a3ae8 (diff)
downloadchromium_src-381bc458bfc58a239f3dfe69b008c6d3522869a2.zip
chromium_src-381bc458bfc58a239f3dfe69b008c6d3522869a2.tar.gz
chromium_src-381bc458bfc58a239f3dfe69b008c6d3522869a2.tar.bz2
FBTF: Remove unneeded headers from base/ (part 10)
BUG=none TEST=none Review URL: http://codereview.chromium.org/5139006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67662 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request.h')
-rw-r--r--net/url_request/url_request.h8
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_; }