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

Unified Diff: chrome/browser/prefs/pref_service.h

Issue 11027070: Moved JsonPrefStore to use SequencedWorkerPool (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
Index: chrome/browser/prefs/pref_service.h
diff --git a/chrome/browser/prefs/pref_service.h b/chrome/browser/prefs/pref_service.h
index ff4585ccd2d63d4bcf0285476d7f1edb5c6837b1..1536b9530642b6bc0db09433f8474f451439b2f1 100644
--- a/chrome/browser/prefs/pref_service.h
+++ b/chrome/browser/prefs/pref_service.h
@@ -33,6 +33,10 @@ class PrefServiceObserver;
class PrefStore;
class PrefValueStore;
+namespace base {
+ class SequencedTaskRunner;
+}
+
namespace syncer {
class SyncableService;
}
@@ -110,10 +114,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,
+ base::SequencedTaskRunner* pref_io_task_runner,
+ policy::PolicyService* policy_service,
+ PrefStore* extension_pref_store,
+ bool async);
// 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

Powered by Google App Engine
This is Rietveld 408576698