// Copyright 2011 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/mock_pref_change_callback.h" #include "base/functional/bind.h" MockPrefChangeCallback::MockPrefChangeCallback(PrefService* prefs) : … { … } MockPrefChangeCallback::~MockPrefChangeCallback() { … } PrefChangeRegistrar::NamedChangeCallback MockPrefChangeCallback::GetCallback() { … } void MockPrefChangeCallback::Expect(const std::string& pref_name, const base::Value* value) { … }