chromium/components/page_load_metrics/browser/observers/privacy_sandbox_ads_page_load_metrics_observer_unittest.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/page_load_metrics/browser/observers/privacy_sandbox_ads_page_load_metrics_observer.h"

#include <memory>
#include <vector>

#include "base/containers/enum_set.h"
#include "base/containers/flat_map.h"
#include "base/containers/flat_set.h"
#include "base/ranges/algorithm.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/time/time.h"
#include "components/page_load_metrics/browser/observers/page_load_metrics_observer_content_test_harness.h"
#include "components/page_load_metrics/browser/observers/page_load_metrics_observer_tester.h"
#include "components/page_load_metrics/browser/page_load_tracker.h"
#include "components/page_load_metrics/common/page_load_metrics.mojom.h"
#include "components/page_load_metrics/common/page_load_timing.h"
#include "components/page_load_metrics/common/test/page_load_metrics_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/use_counter/use_counter_feature.h"
#include "third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom.h"
#include "third_party/blink/public/mojom/use_counter/use_counter_feature.mojom.h"
#include "url/gurl.h"

namespace page_load_metrics {

namespace {

WebFeature;

constexpr char kHistogramPrivacySandboxAdsFirstInputDelay4Prefix[] =;

constexpr char
    kHistogramPrivacySandboxAdsNavigationToFirstContentfulPaintPrefix[] =;

constexpr char
    kHistogramPrivacySandboxAdsNavigationToLargestContentfulPaint2Prefix[] =;

constexpr char kHistogramPrivacySandboxAdsMaxCumulativeShiftScorePrefix[] =;

constexpr char kTestUrl[] =;

struct TestCase {};

}  // namespace

class PrivacySandboxAdsPageLoadMetricsObserverTest
    : public PageLoadMetricsObserverContentTestHarness,
      public ::testing::WithParamInterface<TestCase> {};

INSTANTIATE_TEST_SUITE_P();  // test name generator

TEST_P(PrivacySandboxAdsPageLoadMetricsObserverTest, VerifyMetrics) {}

}  // namespace page_load_metrics