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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 2845683002: Switch to TaskPriority::USER_VISIBLE in profile_io_data.cc. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index b31f17d78746ee5d082c5c81f331b58a1c18fb8c..e0821fb2ecbf9f42224b98c3d5bb2c0f545dad70 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -234,7 +234,7 @@ class DebugDevToolsInterceptor : public net::URLRequestInterceptor {
base::CreateTaskRunnerWithTraits(
base::TaskTraits()
.MayBlock()
- .WithPriority(base::TaskPriority::BACKGROUND)
+ .WithPriority(base::TaskPriority::USER_VISIBLE)
.WithShutdownBehavior(
base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN)));
@@ -1137,7 +1137,7 @@ ProfileIOData::SetUpJobFactoryDefaults(
base::CreateTaskRunnerWithTraits(
base::TaskTraits()
.MayBlock()
- .WithPriority(base::TaskPriority::BACKGROUND)
+ .WithPriority(base::TaskPriority::USER_VISIBLE)
.WithShutdownBehavior(
base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN))));
DCHECK(set_protocol);
@@ -1170,7 +1170,7 @@ ProfileIOData::SetUpJobFactoryDefaults(
content::ContentProtocolHandler::Create(base::CreateTaskRunnerWithTraits(
base::TaskTraits()
.MayBlock()
- .WithPriority(base::TaskPriority::BACKGROUND)
+ .WithPriority(base::TaskPriority::USER_VISIBLE)
.WithShutdownBehavior(
base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN))));
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698