chromium/components/page_load_metrics/common/test/page_load_metrics_test_util.cc

// Copyright 2017 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/common/test/page_load_metrics_test_util.h"

#include "components/page_load_metrics/common/page_load_metrics_util.h"

OptionalMin;

void PopulateRequiredTimingFields(
    page_load_metrics::mojom::PageLoadTiming* inout_timing) {}

// Sets the experimental LCP values to be equal to the non-experimental
// counterparts.
void PopulateExperimentalLCP(page_load_metrics::mojom::PaintTimingPtr& timing) {}

page_load_metrics::mojom::ResourceDataUpdatePtr CreateResource(
    bool was_cached,
    int64_t delta_bytes,
    int64_t encoded_body_length,
    int64_t decoded_body_length,
    bool is_complete) {}

std::vector<page_load_metrics::mojom::ResourceDataUpdatePtr>
GetSampleResourceDataUpdateForTesting(int64_t resource_size) {}