chromium/chrome/browser/ui/webui/metrics_reporter/metrics_reporter.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/ui/webui/metrics_reporter/metrics_reporter.h"

#include "base/metrics/histogram_functions.h"

MetricsReporter::MetricsReporter() = default;

MetricsReporter::~MetricsReporter() = default;

void MetricsReporter::Mark(const std::string& name) {}

void MetricsReporter::Measure(const std::string& start_mark,
                              MeasureCallback callback) {}

void MetricsReporter::Measure(const std::string& start_mark,
                              const std::string& end_mark,
                              MeasureCallback callback) {}

void MetricsReporter::MeasureInternal(const std::string& start_mark,
                                      std::optional<std::string> end_mark,
                                      MeasureCallback callback) {}

void MetricsReporter::HasMark(const std::string& name,
                              HasMarkCallback callback) {}

bool MetricsReporter::HasLocalMark(const std::string& name) {}

void MetricsReporter::ClearMark(const std::string& name) {}

void MetricsReporter::BindInterface(
    mojo::PendingReceiver<metrics_reporter::mojom::PageMetricsHost> receiver) {}

void MetricsReporter::OnPageRemoteCreated(
    mojo::PendingRemote<metrics_reporter::mojom::PageMetrics> page) {}

void MetricsReporter::OnGetMark(const std::string& name,
                                OnGetMarkCallback callback) {}

void MetricsReporter::OnClearMark(const std::string& name) {}

void MetricsReporter::OnUmaReportTime(const std::string& name,
                                      base::TimeDelta time) {}