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

// Copyright 2024 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/uma_file_and_data_page_load_metrics_observer.h"

#include "components/page_load_metrics/browser/observers/page_load_metrics_observer_content_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 "content/public/browser/web_contents.h"

namespace {
const char kDefaultDataUrl[] =;
const char kDefaultFileUrl[] =;
}  // namespace

class UmaFileAndDataPageLoadMetricsObserverTest
    : public page_load_metrics::PageLoadMetricsObserverContentTestHarness {};

TEST_F(UmaFileAndDataPageLoadMetricsObserverTest,
       RelevantFirstContentfulPaintMetricsAreRecordedForDataScheme) {}

TEST_F(UmaFileAndDataPageLoadMetricsObserverTest,
       RelevantBackgroundMetricsAreRecordedForDataScheme) {}

TEST_F(UmaFileAndDataPageLoadMetricsObserverTest,
       RelevantFirstContentfulPaintMetricsAreRecordedForFileScheme) {}

TEST_F(UmaFileAndDataPageLoadMetricsObserverTest,
       RelevantBackgroundMetricsAreRecordedForFileScheme) {}