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

Side by Side Diff: services/preferences/persistent_pref_store_factory.h

Issue 2767743003: Pref service: Merge connectors and send a PrefRegistry in Connect(). (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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_PREFERENCES_PERSISTENT_PREF_STORE_FACTORY_H_ 5 #ifndef SERVICES_PREFERENCES_PERSISTENT_PREF_STORE_FACTORY_H_
6 #define SERVICES_PREFERENCES_PERSISTENT_PREF_STORE_FACTORY_H_ 6 #define SERVICES_PREFERENCES_PERSISTENT_PREF_STORE_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "services/preferences/public/interfaces/preferences.mojom.h" 10 #include "services/preferences/public/interfaces/preferences.mojom.h"
11 11
12 namespace base { 12 namespace base {
13 class SequencedWorkerPool; 13 class SequencedWorkerPool;
14 } 14 }
15 15
16 namespace prefs { 16 namespace prefs {
17 class PersistentPrefStoreImpl; 17 class PersistentPrefStoreImpl;
18 18
19 // Create a new mojom::PersistentPrefStore impl that runs on |worker_pool| 19 // Create a new mojom::PersistentPrefStore impl that runs on |worker_pool|
20 // configured by |configuration|. 20 // configured by |configuration|.
21 std::unique_ptr<PersistentPrefStoreImpl> CreatePersistentPrefStore( 21 std::unique_ptr<PersistentPrefStoreImpl> CreatePersistentPrefStore(
22 mojom::PersistentPrefStoreConfigurationPtr configuration, 22 mojom::PersistentPrefStoreConfigurationPtr configuration,
23 base::SequencedWorkerPool* worker_pool); 23 base::SequencedWorkerPool* worker_pool,
24 base::Closure on_initialized);
24 25
25 } // namespace prefs 26 } // namespace prefs
26 27
27 #endif // SERVICES_PREFERENCES_PERSISTENT_PREF_STORE_FACTORY_H_ 28 #endif // SERVICES_PREFERENCES_PERSISTENT_PREF_STORE_FACTORY_H_
OLDNEW
« no previous file with comments | « services/preferences/manifest.json ('k') | services/preferences/persistent_pref_store_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698