Index: chrome/service/service_process_prefs.cc |
diff --git a/chrome/service/service_process_prefs.cc b/chrome/service/service_process_prefs.cc |
index 7de70a4b573e39fab97d28f3ebe7d882d2c984a3..6b61c3406e22b51d50e2445ed6e740103b5639e8 100644 |
--- a/chrome/service/service_process_prefs.cc |
+++ b/chrome/service/service_process_prefs.cc |
@@ -4,12 +4,15 @@ |
#include "chrome/service/service_process_prefs.h" |
+#include "base/message_loop_proxy.h" |
#include "base/values.h" |
ServiceProcessPrefs::ServiceProcessPrefs( |
const FilePath& pref_filename, |
- base::MessageLoopProxy* file_message_loop_proxy) |
- : prefs_(new JsonPrefStore(pref_filename, file_message_loop_proxy)) { |
+ base::SequencedWorkerPool* blocking_pool) |
+ : prefs_(JsonPrefStore::Create( |
+ pref_filename, |
+ JsonPrefStore::GetTaskRunnerForFile(pref_filename, blocking_pool))) { |
} |
ServiceProcessPrefs::~ServiceProcessPrefs() {} |