Fix emulator build error
[platform/framework/web/chromium-efl.git] / components / prefs / pref_test_utils.h
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.
4
5 #ifndef COMPONENTS_PREFS_PREF_TEST_UTILS_H_
6 #define COMPONENTS_PREFS_PREF_TEST_UTILS_H_
7
8 #include <string>
9
10 class PrefService;
11 namespace base {
12 class Value;
13 }
14
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);
19
20 #endif  // COMPONENTS_PREFS_PREF_TEST_UTILS_H_