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

Unified Diff: services/preferences/user_prefs_factory.h

Issue 2743463002: WIP: Pref service user prefs. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « services/preferences/user_prefs.cc ('k') | services/preferences/user_prefs_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/preferences/user_prefs_factory.h
diff --git a/services/preferences/user_prefs_factory.h b/services/preferences/user_prefs_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..367b2d40f37cb439eef1b11ac815e00d7f296948
--- /dev/null
+++ b/services/preferences/user_prefs_factory.h
@@ -0,0 +1,25 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SERVICES_PREFERENCES_USER_PREFS_FACTORY_H_
+#define SERVICES_PREFERENCES_USER_PREFS_FACTORY_H_
+
+#include "services/preferences/public/interfaces/preferences.mojom.h"
+
+namespace base {
+class SequencedWorkerPool;
+}
+
+namespace prefs {
+class UserPrefs;
+
+// Create a new mojom::PersistentPrefStore impl that runs on |worker_pool|
+// configured by |configuration|.
+std::unique_ptr<UserPrefs> CreateUserPrefs(
+ mojom::UserPrefsConfigurationPtr configuration,
+ base::SequencedWorkerPool* worker_pool);
+
+} // namespace prefs
+
+#endif // SERVICES_PREFERENCES_USER_PREFS_FACTORY_H_
« no previous file with comments | « services/preferences/user_prefs.cc ('k') | services/preferences/user_prefs_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698