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_PUBLIC_CPP_TRACKED_PERSISTENT_PREF_STORE_FACTORY_H_ |
| 6 #define SERVICES_PREFERENCES_PUBLIC_CPP_TRACKED_PERSISTENT_PREF_STORE_FACTORY_H_ |
| 7 |
| 8 #include <memory> |
| 9 #include <string> |
| 10 #include <vector> |
| 11 |
| 12 #include "base/strings/string16.h" |
| 13 #include "components/user_prefs/tracked/pref_hash_filter.h" |
| 14 #include "services/preferences/public/interfaces/preferences.mojom.h" |
| 15 |
| 16 namespace prefs { |
| 17 |
| 18 ::PersistentPrefStore* CreateTrackedPersistentPrefStore( |
| 19 scoped_refptr<base::SequencedTaskRunner> io_task_runner, |
| 20 const base::FilePath& unprotected_pref_filename, |
| 21 const base::FilePath& protected_pref_filename, |
| 22 const std::vector<PrefHashFilter::TrackedPreferenceMetadata>& |
| 23 tracking_configuration, |
| 24 uint64_t reporting_ids_count, |
| 25 const std::string& seed, |
| 26 const std::string& legacy_device_id, |
| 27 const base::string16& registry_path, |
| 28 mojom::TrackedPreferenceValidationDelegate* validation_delegate, |
| 29 const base::Closure& on_reset_on_load); |
| 30 |
| 31 } // namespace prefs |
| 32 |
| 33 #endif // SERVICES_PREFERENCES_PUBLIC_CPP_TRACKED_PERSISTENT_PREF_STORE_FACTORY
_H_ |
OLD | NEW |