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_USER_PREFS_FACTORY_H_ |
| 6 #define SERVICES_PREFERENCES_USER_PREFS_FACTORY_H_ |
| 7 |
| 8 #include "services/preferences/public/interfaces/preferences.mojom.h" |
| 9 |
| 10 namespace base { |
| 11 class SequencedWorkerPool; |
| 12 } |
| 13 |
| 14 namespace prefs { |
| 15 class UserPrefs; |
| 16 |
| 17 // Create a new mojom::PersistentPrefStore impl that runs on |worker_pool| |
| 18 // configured by |configuration|. |
| 19 std::unique_ptr<UserPrefs> CreateUserPrefs( |
| 20 mojom::UserPrefsConfigurationPtr configuration, |
| 21 base::SequencedWorkerPool* worker_pool); |
| 22 |
| 23 } // namespace prefs |
| 24 |
| 25 #endif // SERVICES_PREFERENCES_USER_PREFS_FACTORY_H_ |
OLD | NEW |