// 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/pref_store_observer_mock.h" #include <string_view> #include "testing/gtest/include/gtest/gtest.h" PrefStoreObserverMock::PrefStoreObserverMock() : … { … } PrefStoreObserverMock::~PrefStoreObserverMock() { … } void PrefStoreObserverMock::VerifyAndResetChangedKey( const std::string& expected) { … } void PrefStoreObserverMock::OnPrefValueChanged(std::string_view key) { … } void PrefStoreObserverMock::OnInitializationCompleted(bool success) { … }