Index: chrome/browser/prefs/pref_service.h |
diff --git a/chrome/browser/prefs/pref_service.h b/chrome/browser/prefs/pref_service.h |
index a083cc92ed9f7a38b91b7d86f5a8dd099aa5ab92..62e48500dba37d1fda297b10e5a5180925efbd98 100644 |
--- a/chrome/browser/prefs/pref_service.h |
+++ b/chrome/browser/prefs/pref_service.h |
@@ -28,6 +28,10 @@ class PrefNotifierImpl; |
class PrefStore; |
class PrefValueStore; |
+namespace base { |
+ class SequencedTaskRunner; |
+} |
+ |
namespace syncer { |
class SyncableService; |
} |
@@ -106,10 +110,12 @@ class PrefService : public PrefServiceBase, public base::NonThreadSafe { |
// the created PrefService or NULL if creation has failed. Note, it is |
// guaranteed that in asynchronous version initialization happens after this |
// function returned. |
- static PrefService* CreatePrefService(const FilePath& pref_filename, |
- policy::PolicyService* policy_service, |
- PrefStore* extension_pref_store, |
- bool async); |
+ static PrefService* CreatePrefService( |
+ const FilePath& pref_filename, |
+ policy::PolicyService* policy_service, |
+ PrefStore* extension_pref_store, |
+ bool async, |
+ base::SequencedTaskRunner* sequenced_task_runner); |
// Creates an incognito copy of the pref service that shares most pref stores |
// but uses a fresh non-persistent overlay for the user pref store and an |