blob: 9804c6976604d0aca503e38dac8e4444bb4c0a31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (c) 2019 The Chromium Authors. All rights reserved.
// 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_
|