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

Unified Diff: net/proxy/dhcp_proxy_script_fetcher_win.cc

Issue 2077413009: Add TaskPriority as a parameter to SequencedWorkerPool in preparation for TaskScheduler experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2_hook
Patch Set: review:jam Created 4 years, 6 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/dhcp_proxy_script_fetcher_win.cc
diff --git a/net/proxy/dhcp_proxy_script_fetcher_win.cc b/net/proxy/dhcp_proxy_script_fetcher_win.cc
index 87006114929f37083984c0991accf92d5142edb5..cb95ad5aeb873ca449e8aa9aa61304b4282f2e5f 100644
--- a/net/proxy/dhcp_proxy_script_fetcher_win.cc
+++ b/net/proxy/dhcp_proxy_script_fetcher_win.cc
@@ -58,8 +58,9 @@ DhcpProxyScriptFetcherWin::DhcpProxyScriptFetcherWin(
url_request_context_(url_request_context) {
DCHECK(url_request_context_);
- worker_pool_ = new base::SequencedWorkerPool(kMaxDhcpLookupThreads,
- "PacDhcpLookup");
+ worker_pool_ =
+ new base::SequencedWorkerPool(kMaxDhcpLookupThreads, "PacDhcpLookup",
eroman 2016/06/23 01:19:21 BTW I don't believe this actually has any ordering
gab 2016/06/27 21:29:32 Ack, will keep in mind for later, thanks!
+ base::TaskPriority::USER_BLOCKING);
eroman 2016/06/23 01:19:21 USER_VISIBLE should be good enough for this. As a
gab 2016/06/27 21:29:32 Done.
}
DhcpProxyScriptFetcherWin::~DhcpProxyScriptFetcherWin() {

Powered by Google App Engine
This is Rietveld 408576698