#include <string>
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
#include "base/version.h"
#include "chrome/browser/component_updater/privacy_sandbox_attestations_component_installer_test_util.h"
#include "chrome/browser/privacy_sandbox/privacy_sandbox_attestations/privacy_sandbox_attestations_mixin.h"
#include "chrome/browser/privacy_sandbox/privacy_sandbox_settings_factory.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/test/base/mixin_based_in_process_browser_test.h"
#include "chrome/test/base/test_launcher_utils.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/page_load_metrics/browser/page_load_metrics_test_waiter.h"
#include "components/privacy_sandbox/privacy_sandbox_attestations/privacy_sandbox_attestations.h"
#include "components/privacy_sandbox/privacy_sandbox_attestations/proto/privacy_sandbox_attestations.pb.h"
#include "components/privacy_sandbox/privacy_sandbox_features.h"
#include "components/privacy_sandbox/privacy_sandbox_settings.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/back_forward_cache_util.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/test_navigation_observer.h"
#include "net/base/schemeful_site.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/controllable_http_response.h"
#include "net/test/embedded_test_server/default_handlers.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
#include "url/gurl.h"
class ChromeAttributionBrowserTest : public MixinBasedInProcessBrowserTest { … };
struct ExpectedReportWaiter { … };
IN_PROC_BROWSER_TEST_F(ChromeAttributionBrowserTest,
WindowOpenWithOnlyAttributionFeatures_LinkOpenedInTab) { … }
IN_PROC_BROWSER_TEST_F(ChromeAttributionBrowserTest,
AttestedSiteCanReceiveAttributionReport) { … }
IN_PROC_BROWSER_TEST_F(ChromeAttributionBrowserTest,
UnattestedSiteCannotReceiveAttributionReport) { … }
class ChromeAttributionAttestationsBrowserTest
: public ChromeAttributionBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ChromeAttributionAttestationsBrowserTest,
PRE_AttributionUponAttestationsLoading) { … }
IN_PROC_BROWSER_TEST_F(ChromeAttributionAttestationsBrowserTest,
AttributionUponAttestationsLoading) { … }