chromium/components/page_load_metrics/browser/fake_page_load_metrics_observer_delegate.cc

// Copyright 2021 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/fake_page_load_metrics_observer_delegate.h"
#include "base/time/default_tick_clock.h"
#include "components/page_load_metrics/common/page_load_metrics.mojom.h"
#include "services/metrics/public/cpp/ukm_source_id.h"

namespace page_load_metrics {

namespace {
static int g_next_navigation_id_ =;
}

FakePageLoadMetricsObserverDelegate::FakePageLoadMetricsObserverDelegate()
    :{}
FakePageLoadMetricsObserverDelegate::~FakePageLoadMetricsObserverDelegate() =
    default;

content::WebContents* FakePageLoadMetricsObserverDelegate::GetWebContents()
    const {}

base::TimeTicks FakePageLoadMetricsObserverDelegate::GetNavigationStart()
    const {}

std::optional<base::TimeDelta> TimeDiff(
    const std::optional<base::TimeTicks>& time,
    const base::TimeTicks& origin) {}

std::optional<base::TimeDelta>
FakePageLoadMetricsObserverDelegate::GetTimeToFirstForeground() const {}

std::optional<base::TimeDelta>
FakePageLoadMetricsObserverDelegate::GetTimeToFirstBackground() const {}

PrerenderingState FakePageLoadMetricsObserverDelegate::GetPrerenderingState()
    const {}

std::optional<base::TimeDelta>
FakePageLoadMetricsObserverDelegate::GetActivationStart() const {}

const PageLoadMetricsObserverDelegate::BackForwardCacheRestore&
FakePageLoadMetricsObserverDelegate::GetBackForwardCacheRestore(
    size_t index) const {}

bool FakePageLoadMetricsObserverDelegate::StartedInForeground() const {}

PageVisibility FakePageLoadMetricsObserverDelegate::GetVisibilityAtActivation()
    const {}

bool FakePageLoadMetricsObserverDelegate::
    WasPrerenderedThenActivatedInForeground() const {}

const UserInitiatedInfo&
FakePageLoadMetricsObserverDelegate::GetUserInitiatedInfo() const {}

const GURL& FakePageLoadMetricsObserverDelegate::GetUrl() const {}

const GURL& FakePageLoadMetricsObserverDelegate::GetStartUrl() const {}

bool FakePageLoadMetricsObserverDelegate::DidCommit() const {}

PageEndReason FakePageLoadMetricsObserverDelegate::GetPageEndReason() const {}

const UserInitiatedInfo&
FakePageLoadMetricsObserverDelegate::GetPageEndUserInitiatedInfo() const {}

std::optional<base::TimeDelta>
FakePageLoadMetricsObserverDelegate::GetTimeToPageEnd() const {}

const base::TimeTicks& FakePageLoadMetricsObserverDelegate::GetPageEndTime()
    const {}

const mojom::FrameMetadata&
FakePageLoadMetricsObserverDelegate::GetMainFrameMetadata() const {}

const mojom::FrameMetadata&
FakePageLoadMetricsObserverDelegate::GetSubframeMetadata() const {}

const PageRenderData& FakePageLoadMetricsObserverDelegate::GetPageRenderData()
    const {}

const NormalizedCLSData&
FakePageLoadMetricsObserverDelegate::GetNormalizedCLSData(
    BfcacheStrategy bfcache_strategy) const {}

const NormalizedCLSData& FakePageLoadMetricsObserverDelegate::
    GetSoftNavigationIntervalNormalizedCLSData() const {}

const ResponsivenessMetricsNormalization&
FakePageLoadMetricsObserverDelegate::GetResponsivenessMetricsNormalization()
    const {}

const ResponsivenessMetricsNormalization& FakePageLoadMetricsObserverDelegate::
    GetSoftNavigationIntervalResponsivenessMetricsNormalization() const {}

const mojom::InputTiming&
FakePageLoadMetricsObserverDelegate::GetPageInputTiming() const {}

const std::optional<blink::SubresourceLoadMetrics>&
FakePageLoadMetricsObserverDelegate::GetSubresourceLoadMetrics() const {}

const PageRenderData&
FakePageLoadMetricsObserverDelegate::GetMainFrameRenderData() const {}

const ui::ScopedVisibilityTracker&
FakePageLoadMetricsObserverDelegate::GetVisibilityTracker() const {}

const ResourceTracker& FakePageLoadMetricsObserverDelegate::GetResourceTracker()
    const {}

const LargestContentfulPaintHandler&
FakePageLoadMetricsObserverDelegate::GetLargestContentfulPaintHandler() const {}

const LargestContentfulPaintHandler& FakePageLoadMetricsObserverDelegate::
    GetExperimentalLargestContentfulPaintHandler() const {}

ukm::SourceId FakePageLoadMetricsObserverDelegate::GetPageUkmSourceId() const {}

mojom::SoftNavigationMetrics&
FakePageLoadMetricsObserverDelegate::GetSoftNavigationMetrics() const {}

ukm::SourceId
FakePageLoadMetricsObserverDelegate::GetUkmSourceIdForSoftNavigation() const {}

ukm::SourceId
FakePageLoadMetricsObserverDelegate::GetPreviousUkmSourceIdForSoftNavigation()
    const {}

bool FakePageLoadMetricsObserverDelegate::IsFirstNavigationInWebContents()
    const {}

bool FakePageLoadMetricsObserverDelegate::IsOriginVisit() const {}

bool FakePageLoadMetricsObserverDelegate::IsTerminalVisit() const {}

int64_t FakePageLoadMetricsObserverDelegate::GetNavigationId() const {}

void FakePageLoadMetricsObserverDelegate::AddBackForwardCacheRestore(
    PageLoadMetricsObserverDelegate::BackForwardCacheRestore bfcache_restore) {}

void FakePageLoadMetricsObserverDelegate::ClearBackForwardCacheRestores() {}

}  // namespace page_load_metrics