chromium/chrome/browser/page_load_metrics/observers/side_search_page_load_metrics_observer.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 "base/metrics/histogram_functions.h"
#include "chrome/browser/ui/side_search/side_search_side_contents_helper.h"
#include "components/page_load_metrics/browser/page_load_metrics_util.h"

namespace internal {

const char kSideSearchFirstContentfulPaint[] =;
const char kSideSearchFirstMeaningfulPaint[] =;
const char kSideSearchInteractiveInputDelay[] =;
const char kSideSearchLargestContentfulPaint[] =;
const char kSideSearchMaxCumulativeShiftScore[] =;

}  // namespace internal

// static
std::unique_ptr<SideSearchPageLoadMetricsObserver>
SideSearchPageLoadMetricsObserver::CreateIfNeeded(
    content::WebContents* web_contents) {}

page_load_metrics::PageLoadMetricsObserver::ObservePolicy
SideSearchPageLoadMetricsObserver::OnFencedFramesStart(
    content::NavigationHandle* navigation_handle,
    const GURL& currently_committed_url) {}

page_load_metrics::PageLoadMetricsObserver::ObservePolicy
SideSearchPageLoadMetricsObserver::OnPrerenderStart(
    content::NavigationHandle* navigation_handle,
    const GURL& currently_committed_url) {}

page_load_metrics::PageLoadMetricsObserver::ObservePolicy
SideSearchPageLoadMetricsObserver::OnHidden(
    const page_load_metrics::mojom::PageLoadTiming& timing) {}

void SideSearchPageLoadMetricsObserver::OnFirstInputInPage(
    const page_load_metrics::mojom::PageLoadTiming& timing) {}

void SideSearchPageLoadMetricsObserver::OnFirstContentfulPaintInPage(
    const page_load_metrics::mojom::PageLoadTiming& timing) {}

void SideSearchPageLoadMetricsObserver::
    OnFirstMeaningfulPaintInMainFrameDocument(
        const page_load_metrics::mojom::PageLoadTiming& timing) {}

page_load_metrics::PageLoadMetricsObserver::ObservePolicy
SideSearchPageLoadMetricsObserver::FlushMetricsOnAppEnterBackground(
    const page_load_metrics::mojom::PageLoadTiming& timing) {}

void SideSearchPageLoadMetricsObserver::OnComplete(
    const page_load_metrics::mojom::PageLoadTiming& timing) {}

void SideSearchPageLoadMetricsObserver::RecordSessionEndHistograms() {}