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

Unified Diff: components/history/core/browser/history_service.cc

Issue 2592133002: Update TaskTraits in history_service.cc. (Closed)
Patch Set: Created 4 years 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: components/history/core/browser/history_service.cc
diff --git a/components/history/core/browser/history_service.cc b/components/history/core/browser/history_service.cc
index 09de1ca88715c0378c8ea0b8cd6fb3ed035de27b..f5735366f02e1af62c4bdaee1f51c25f8f18248c 100644
--- a/components/history/core/browser/history_service.cc
+++ b/components/history/core/browser/history_service.cc
@@ -886,7 +886,7 @@ bool HistoryService::Init(
base::TaskTraits()
.WithPriority(base::TaskPriority::USER_BLOCKING)
.WithShutdownBehavior(base::TaskShutdownBehavior::BLOCK_SHUTDOWN)
- .WithFileIO());
+ .MayBlock());
}
// Create the history backend.
« 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