#include <memory>
#include <string>
#include "base/test/metrics/histogram_tester.h"
#include "chrome/browser/sync/test/integration/sync_service_impl_harness.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
#include "chrome/browser/sync/test/integration/updated_progress_marker_checker.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/unified_consent/unified_consent_service_factory.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_service.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include "components/unified_consent/unified_consent_metrics.h"
#include "components/unified_consent/unified_consent_service.h"
#include "content/public/test/browser_test.h"
namespace unified_consent {
namespace {
class UnifiedConsentBrowserTest : public SyncTest { … };
IN_PROC_BROWSER_TEST_F(UnifiedConsentBrowserTest, SettingsHistogram_None) { … }
IN_PROC_BROWSER_TEST_F(
UnifiedConsentBrowserTest,
PRE_SettingsHistogram_UrlKeyedAnonymizedDataCollectionEnabled) { … }
IN_PROC_BROWSER_TEST_F(
UnifiedConsentBrowserTest,
SettingsHistogram_UrlKeyedAnonymizedDataCollectionEnabled) { … }
IN_PROC_BROWSER_TEST_F(UnifiedConsentBrowserTest,
SettingsOptInTakeOverServicePrefChanges) { … }
}
}