// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/prefs/persistent_pref_store.h" #include "base/functional/bind.h" #include "base/run_loop.h" #include "base/sequence_checker_impl.h" #include "base/test/task_environment.h" #include "testing/gtest/include/gtest/gtest.h" void TestCommitPendingWriteWithCallback( PersistentPrefStore* store, base::test::TaskEnvironment* task_environment) { … }