#include "components/ukm/test_ukm_recorder.h"
#include "content/browser/xr/metrics/session_metrics_helper.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/fenced_frame_test_util.h"
#include "content/public/test/prerender_test_util.h"
#include "content/shell/browser/shell.h"
#include "device/vr/public/mojom/vr_service.mojom.h"
#include "device/vr/public/mojom/xr_device.mojom.h"
#include "device/vr/public/mojom/xr_session.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace content {
class SessionMetricsPrerenderingBrowserTest : public ContentBrowserTest { … };
IN_PROC_BROWSER_TEST_F(SessionMetricsPrerenderingBrowserTest,
DoNotRecordImmersiveSessionInPrerendering) { … }
class SessionMetricsFencedFrameBrowserTest : public ContentBrowserTest { … };
IN_PROC_BROWSER_TEST_F(SessionMetricsFencedFrameBrowserTest,
DoNotRecordImmersiveSessionInFencedFrame) { … }
}