chromium/chrome/browser/ui/webui/metrics_reporter/metrics_reporter.h

// 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.

#ifndef CHROME_BROWSER_UI_WEBUI_METRICS_REPORTER_METRICS_REPORTER_H_
#define CHROME_BROWSER_UI_WEBUI_METRICS_REPORTER_METRICS_REPORTER_H_

#include <optional>
#include <string>

#include "base/time/time.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "ui/webui/resources/js/metrics_reporter/metrics_reporter.mojom.h"

class MetricsReporterClient;
class MetricsReporterTest;

// A WebUI utility that measures time between marks.
// See usage at ui/webui/resources/js/metrics_reporter/metrics_reporter.ts
class MetricsReporter : public metrics_reporter::mojom::PageMetricsHost {};

#endif  // CHROME_BROWSER_UI_WEBUI_METRICS_REPORTER_METRICS_REPORTER_H_