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_TRACKED_TRACKED_PERSISTENT_PREF_STORE_FACTORY_H_ |
| 6 #define SERVICES_PREFERENCES_TRACKED_TRACKED_PERSISTENT_PREF_STORE_FACTORY_H_ |
| 7 |
| 8 #include <utility> |
| 9 #include "services/preferences/public/interfaces/preferences_configuration.mojom
.h" |
| 10 |
| 11 namespace base { |
| 12 class DictionaryValue; |
| 13 class SequencedWorkerPool; |
| 14 } |
| 15 |
| 16 class PersistentPrefStore; |
| 17 |
| 18 PersistentPrefStore* CreateTrackedPersistentPrefStore( |
| 19 prefs::mojom::TrackedPersistentPrefStoreConfigurationPtr config, |
| 20 base::SequencedWorkerPool* worker_pool); |
| 21 |
| 22 // TODO(sammc): This should move somewhere more appropriate in the longer term. |
| 23 void InitializeMasterPrefsTracking( |
| 24 prefs::mojom::TrackedPersistentPrefStoreConfigurationPtr configuration, |
| 25 base::DictionaryValue* master_prefs); |
| 26 |
| 27 #endif // SERVICES_PREFERENCES_TRACKED_TRACKED_PERSISTENT_PREF_STORE_FACTORY_H_ |
OLD | NEW |