chromium/chrome/browser/page_load_metrics/observers/page_anchors_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 "chrome/browser/page_load_metrics/observers/page_anchors_metrics_observer.h"

#include "chrome/browser/navigation_predictor/navigation_predictor_metrics_document_data.h"
#include "chrome/browser/page_load_metrics/observers/page_load_metrics_observer_test_harness.h"
#include "components/page_load_metrics/browser/page_load_tracker.h"
#include "components/page_load_metrics/common/test/page_load_metrics_test_util.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "services/metrics/public/cpp/ukm_source.h"

class TestPageAnchorsMetricsObserver : public PageAnchorsMetricsObserver {};

class PageAnchorsMetricsObserverTest
    : public page_load_metrics::PageLoadMetricsObserverTestHarness {};

TEST_F(PageAnchorsMetricsObserverTest,
       NavigateToUntrackedUrlShouldForceRecordingUkmData) {}