chromium/chrome/browser/page_load_metrics/integration_tests/smoothness_metric_browsertest.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <string_view>

#include "build/build_config.h"
#include "chrome/browser/page_load_metrics/integration_tests/metric_integration_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/page_load_metrics/browser/page_load_metrics_util.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "services/metrics/public/cpp/ukm_builders.h"

Graphics_Smoothness_NormalizedPercentDroppedFrames;

namespace {

bool ExtractUKMSmoothnessMetric(const ukm::TestUkmRecorder& ukm_recorder,
                                std::string_view metric_name,
                                int64_t* extracted_value) {}

}  // namespace

// TODO(crbug.com/40934889): Re-enable this test
#if BUILDFLAG(IS_MAC)
#define MAYBE_BasicSmoothnessAverage
#else
#define MAYBE_BasicSmoothnessAverage
#endif
IN_PROC_BROWSER_TEST_F(MetricIntegrationTest, MAYBE_BasicSmoothnessAverage) {}