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

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: rebase Created 8 years, 2 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
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);
Mattias Nissler (ping if slow) 2012/10/22 17:28:21 nit: move next to pref_filename and maybe rename t
zel 2012/10/24 02:20:11 Done.
// 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