#include "base/test/run_until.h"
#include <functional>
#include "base/callback_list.h"
#include "base/functional/callback.h"
#include "base/task/current_thread.h"
#include "base/test/scoped_run_loop_timeout.h"
#include "base/test/test_future.h"
#include "base/time/time_override.h"
namespace base::test {
void TestPredicateOrRegisterOnNextIdleCallback(
base::FunctionRef<bool(void)> condition,
CallbackListSubscription* on_idle_callback_subscription,
OnceClosure ready_callback) { … }
bool RunUntil(base::FunctionRef<bool(void)> condition) { … }
}