blob: c4907ef2a43cfc063aabce0445bae94f73f13d71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PREFS_PREF_TEST_UTILS_H_
#define COMPONENTS_PREFS_PREF_TEST_UTILS_H_
#include <string>
class PrefService;
namespace base {
class Value;
}
// Spins a RunLoop until the preference at |path| has value |value|.
void WaitForPrefValue(PrefService* pref_service,
const std::string& path,
const base::Value& value);
#endif // COMPONENTS_PREFS_PREF_TEST_UTILS_H_
|