// 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. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40285824): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "components/page_load_metrics/browser/observers/ad_metrics/univariate_stats.h" #include <cmath> #include "base/check_op.h" namespace page_load_metrics { void UnivariateStats::Accumulate(double value, double weight) { … } UnivariateStats::DistributionMoments UnivariateStats::CalculateStats() const { … } } // namespace page_load_metrics