chromium/chrome/browser/performance_manager/observers/page_load_metrics_observer.h

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

#ifndef CHROME_BROWSER_PERFORMANCE_MANAGER_OBSERVERS_PAGE_LOAD_METRICS_OBSERVER_H_
#define CHROME_BROWSER_PERFORMANCE_MANAGER_OBSERVERS_PAGE_LOAD_METRICS_OBSERVER_H_

#include "components/performance_manager/public/performance_manager_main_thread_observer.h"

namespace performance_manager {

// This enum matches "StabilityPageLoadType" in enums.xml. The ordering
// of values must match the ordering of values in the NavigationType enum.
enum class LoadType {};

// PageLoadMetricsObserver records detailed metrics to explain what is included
// in the "Total Pageloads" presented on stability dashboards.
class PageLoadMetricsObserver
    : public PerformanceManagerMainThreadObserverDefaultImpl {};

}  // namespace performance_manager

#endif  // CHROME_BROWSER_PERFORMANCE_MANAGER_OBSERVERS_PAGE_LOAD_METRICS_OBSERVER_H_