chromium/chrome/browser/page_load_metrics/observers/side_search_page_load_metrics_observer_unittest.cc

// Copyright 2022 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/side_search_page_load_metrics_observer.h"

#include <memory>

#include "chrome/browser/page_load_metrics/observers/page_load_metrics_observer_test_harness.h"
#include "chrome/browser/ui/side_search/side_search_side_contents_helper.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/test/test_utils.h"

namespace {

constexpr char kExampleUrl[] =;
constexpr char kExampleUrl2[] =;

}  // namespace

class SideSearchPageLoadMetricsObserverTest
    : public page_load_metrics::PageLoadMetricsObserverTestHarness {};

TEST_F(SideSearchPageLoadMetricsObserverTest, PageLoadMetricsNonBackgrounded) {}

TEST_F(SideSearchPageLoadMetricsObserverTest,
       HiddenContentsDoesNotEmitMetrics) {}

TEST_F(SideSearchPageLoadMetricsObserverTest,
       MetricsEmittedCorrectlyWhenAppBackgrounded) {}

TEST_F(SideSearchPageLoadMetricsObserverTest,
       ObserverOnlyCreatedForSidePanelContents) {}