#include "components/prefs/mock_pref_change_callback.h"
#include "components/prefs/pref_change_registrar.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/scoped_user_pref_update.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
Mock;
class ScopedUserPrefUpdateTest : public testing::Test { … };
const char ScopedUserPrefUpdateTest::kDictPref[] = …;
const char ScopedUserPrefUpdateTest::kListPref[] = …;
const char ScopedUserPrefUpdateTest::kKey[] = …;
const char ScopedUserPrefUpdateTest::kValue[] = …;
TEST_F(ScopedUserPrefUpdateTest, ScopedDictPrefUpdateRegularUse) { … }
TEST_F(ScopedUserPrefUpdateTest, ScopedDictPrefUpdateNeverTouchAnything) { … }
TEST_F(ScopedUserPrefUpdateTest, ScopedDictPrefUpdateWithDefaults) { … }
TEST_F(ScopedUserPrefUpdateTest, ScopedListPrefUpdateRegularUse) { … }
TEST_F(ScopedUserPrefUpdateTest, ScopedListPrefUpdateNeverTouchAnything) { … }
TEST_F(ScopedUserPrefUpdateTest, ScopedListPrefUpdateWithDefaults) { … }