#include "components/sync_device_info/device_count_metrics_provider.h"
#include <map>
#include <string>
#include "base/functional/bind.h"
#include "base/test/metrics/histogram_tester.h"
#include "components/sync/protocol/sync_enums.pb.h"
#include "components/sync_device_info/device_info.h"
#include "components/sync_device_info/fake_device_info_tracker.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
class DeviceCountMetricsProviderTest : public testing::Test { … };
namespace {
TEST_F(DeviceCountMetricsProviderTest, NoTrackers) { … }
TEST_F(DeviceCountMetricsProviderTest, SingleTracker) { … }
TEST_F(DeviceCountMetricsProviderTest, MultipileTrackers) { … }
TEST_F(DeviceCountMetricsProviderTest, OnlyNegative) { … }
TEST_F(DeviceCountMetricsProviderTest, VeryLarge) { … }
}
}