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