Chromium Code Reviews| 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..b0dc150fee841892b66f2b2272fe98497b646332 100644 |
| --- a/chrome/service/service_process_prefs.cc |
| +++ b/chrome/service/service_process_prefs.cc |
| @@ -4,12 +4,13 @@ |
| #include "chrome/service/service_process_prefs.h" |
| +#include "base/message_loop_proxy.h" |
|
akalin
2012/10/19 23:12:21
i think you can remove this include
|
| #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::SequencedTaskRunner* task_runner) |
| + : prefs_(JsonPrefStore::Create(pref_filename, task_runner)) { |
| } |
| ServiceProcessPrefs::~ServiceProcessPrefs() {} |