#include "chrome/browser/privacy/privacy_metrics_service.h"
#include "base/notreached.h"
#include "base/test/metrics/histogram_tester.h"
#include "build/build_config.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/test/base/testing_profile.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/signin/public/identity_manager/identity_test_environment.h"
#include "components/sync/test/test_sync_service.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
const char kClearOnExitSyncEventHistogram[] = …;
}
class PrivacyMetricsServiceTest : public testing::Test { … };
TEST_F(PrivacyMetricsServiceTest, BasicShutdownMetrics) { … }
TEST_F(PrivacyMetricsServiceTest, FixSyncPausedThroughReLogin) { … }
#if !BUILDFLAG(IS_CHROMEOS_ASH)
TEST_F(PrivacyMetricsServiceTest, FixSyncPausedThroughLogout) { … }
#endif
TEST_F(PrivacyMetricsServiceTest, NoSyncIssues) { … }
TEST_F(PrivacyMetricsServiceTest, AccountChangeNoSyncIssues) { … }
TEST_F(PrivacyMetricsServiceTest, StartupNoSync) { … }