#include "components/sync_device_info/device_info_prefs.h"
#include "base/strings/stringprintf.h"
#include "base/test/simple_test_clock.h"
#include "base/values.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/gtest/include/gtest/gtest.h"
namespace syncer {
namespace {
class DeviceInfoPrefsTest : public testing::Test { … };
TEST_F(DeviceInfoPrefsTest, ShouldGarbageCollectExpiredCacheGuids) { … }
TEST_F(DeviceInfoPrefsTest, ShouldCleanUpCorruptEntriesUponGarbageCollection) { … }
TEST_F(DeviceInfoPrefsTest, ShouldTruncateAfterMaximumNumberOfGuids) { … }
}
}