0
Files
src/components/prefs/pref_test_utils.h
Avi Drissman 8ba1bad80d Update copyright headers in components/
The methodology used to generate this CL is documented in
https://crbug.com/1098010#c34.

No-Try: true
No-Presubmit: true
Bug: 1098010
Change-Id: If6a3370b0b2849d889ce797596fe1ccbad2f3fe6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3891619
Auto-Submit: Avi Drissman <avi@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Owners-Override: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1046502}
2022-09-13 19:22:36 +00:00

21 lines
566 B
C++

// 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_