1 // Copyright 2019 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_PREFS_PREF_TEST_UTILS_H_
6 #define COMPONENTS_PREFS_PREF_TEST_UTILS_H_
15 // Spins a RunLoop until the preference at |path| has value |value|.
16 void WaitForPrefValue(PrefService* pref_service,
17 const std::string& path,
18 const base::Value& value);
20 #endif // COMPONENTS_PREFS_PREF_TEST_UTILS_H_