| Index: net/url_request/url_request.cc
|
| ===================================================================
|
| --- net/url_request/url_request.cc (revision 67155)
|
| +++ net/url_request/url_request.cc (working copy)
|
| @@ -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"
|
| @@ -587,6 +588,12 @@
|
| 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())
|
|
|