Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1253)

Unified Diff: net/proxy/proxy_script_fetcher_impl.cc

Issue 51953002: [Net] Add a priority parameter to URLRequest's constructor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile failures Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/proxy/proxy_script_fetcher_impl.cc
diff --git a/net/proxy/proxy_script_fetcher_impl.cc b/net/proxy/proxy_script_fetcher_impl.cc
index f8925fa9c3c7887e5bcdc1edf35ce963333667e5..cf6441f20643dff1c5aabcdd478c0f20c9914b9a 100644
--- a/net/proxy/proxy_script_fetcher_impl.cc
+++ b/net/proxy/proxy_script_fetcher_impl.cc
@@ -133,7 +133,8 @@ int ProxyScriptFetcherImpl::Fetch(
return OK;
}
- cur_request_.reset(url_request_context_->CreateRequest(url, this));
+ cur_request_ =
+ url_request_context_->CreateRequest(url, DEFAULT_PRIORITY, this);
mmenke 2013/10/31 15:23:43 include request_priority.h?
akalin 2013/10/31 20:02:02 Done. Fixed another file, too.
cur_request_->set_method("GET");
// Make sure that the PAC script is downloaded using a direct connection,

Powered by Google App Engine
This is Rietveld 408576698