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

Unified Diff: chrome/service/service_process_prefs.cc

Issue 10344007: Use worker pool for IO in JsonPrefStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « chrome/service/service_process_prefs.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_process_prefs.cc
diff --git a/chrome/service/service_process_prefs.cc b/chrome/service/service_process_prefs.cc
index 511709a7d8f5d5893f0f78d4a6c2b516bf62f24f..e259e2c91db77c9e2bae2f3b239704125c56e807 100644
--- a/chrome/service/service_process_prefs.cc
+++ b/chrome/service/service_process_prefs.cc
@@ -8,8 +8,8 @@
ServiceProcessPrefs::ServiceProcessPrefs(
const FilePath& pref_filename,
- base::MessageLoopProxy* file_message_loop_proxy)
- : prefs_(new JsonPrefStore(pref_filename, file_message_loop_proxy)) {
+ base::SequencedTaskRunner* blocking_task_runner)
+ : prefs_(new JsonPrefStore(pref_filename, blocking_task_runner)) {
}
ServiceProcessPrefs::~ServiceProcessPrefs() {}
« no previous file with comments | « chrome/service/service_process_prefs.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698