diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 03:04:46 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 03:04:46 +0000 |
commit | 381bc458bfc58a239f3dfe69b008c6d3522869a2 (patch) | |
tree | 47d1ce68c60dbf2590e92c5fcf8ad4954a42aa12 /net/url_request/url_request.cc | |
parent | 7781bb91a12839e409b9904c06d8f9072d1a3ae8 (diff) | |
download | chromium_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.cc')
-rw-r--r-- | net/url_request/url_request.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc index ac54a1f..1726051 100644 --- a/net/url_request/url_request.cc +++ b/net/url_request/url_request.cc @@ -5,6 +5,7 @@ #include "net/url_request/url_request.h" #include "base/compiler_specific.h" +#include "base/logging.h" #include "base/message_loop.h" #include "base/metrics/stats_counters.h" #include "base/singleton.h" @@ -588,6 +589,12 @@ int64 URLRequest::GetExpectedContentSize() const { return expected_content_size; } +void URLRequest::set_priority(net::RequestPriority priority) { + DCHECK_GE(priority, net::HIGHEST); + DCHECK_LT(priority, net::NUM_PRIORITIES); + priority_ = priority; +} + URLRequest::UserData* URLRequest::GetUserData(const void* key) const { UserDataMap::const_iterator found = user_data_.find(key); if (found != user_data_.end()) |