OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SERVICES_PREFERENCES_PERSISTENT_PREF_STORE_FACTORY_H_ |
| 6 #define SERVICES_PREFERENCES_PERSISTENT_PREF_STORE_FACTORY_H_ |
| 7 |
| 8 #include <memory> |
| 9 |
| 10 #include "services/preferences/public/interfaces/preferences.mojom.h" |
| 11 |
| 12 namespace base { |
| 13 class SequencedWorkerPool; |
| 14 } |
| 15 |
| 16 namespace prefs { |
| 17 class PersistentPrefStoreImpl; |
| 18 |
| 19 // Create a new mojom::PersistentPrefStore impl that runs on |worker_pool| |
| 20 // configured by |configuration|. |
| 21 std::unique_ptr<PersistentPrefStoreImpl> CreatePersistentPrefStore( |
| 22 mojom::PersistentPrefStoreConfigurationPtr configuration, |
| 23 base::SequencedWorkerPool* worker_pool); |
| 24 |
| 25 } // namespace prefs |
| 26 |
| 27 #endif // SERVICES_PREFERENCES_PERSISTENT_PREF_STORE_FACTORY_H_ |
OLD | NEW |