Index: chrome/browser/prefs/profile_pref_store_manager.h |
diff --git a/chrome/browser/prefs/profile_pref_store_manager.h b/chrome/browser/prefs/profile_pref_store_manager.h |
index c79ef0b012208d333caecad642f4c34eccb0803e..42cddc540d1b5b07490e38bd14e959e89d1295a7 100644 |
--- a/chrome/browser/prefs/profile_pref_store_manager.h |
+++ b/chrome/browser/prefs/profile_pref_store_manager.h |
@@ -15,6 +15,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "components/user_prefs/tracked/pref_hash_filter.h" |
+#include "services/preferences/public/interfaces/tracked_preference_validation_delegate.mojom.h" |
class HashStoreContents; |
class PersistentPrefStore; |
@@ -24,6 +25,7 @@ class PrefService; |
namespace base { |
class DictionaryValue; |
class SequencedTaskRunner; |
+class SingleThreadTaskRunner; |
} // namespace base |
namespace prefs { |
@@ -89,9 +91,11 @@ class ProfilePrefStoreManager { |
// An optional |validation_delegate| will be notified |
// of the status of each tracked preference as they are checked. |
PersistentPrefStore* CreateProfilePrefStore( |
+ const scoped_refptr<base::SingleThreadTaskRunner>& pref_task_runner, |
const scoped_refptr<base::SequencedTaskRunner>& io_task_runner, |
const base::Closure& on_reset_on_load, |
- prefs::mojom::TrackedPreferenceValidationDelegate* validation_delegate); |
+ std::unique_ptr<prefs::mojom::TrackedPreferenceValidationDelegate>* |
+ validation_delegate); |
// Initializes the preferences for the managed profile with the preference |
// values in |master_prefs|. Acts synchronously, including blocking IO. |