chromium/chrome/browser/page_load_metrics/observers/multi_tab_loading_page_load_metrics_observer.h

// Copyright 2017 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_PAGE_LOAD_METRICS_OBSERVERS_MULTI_TAB_LOADING_PAGE_LOAD_METRICS_OBSERVER_H_
#define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_MULTI_TAB_LOADING_PAGE_LOAD_METRICS_OBSERVER_H_

#include "components/page_load_metrics/browser/page_load_metrics_observer.h"

namespace content {
class NavigationHandle;
}

namespace internal {

// Exposed for tests.
extern const char kHistogramPrefixMultiTabLoading[];
extern const char kHistogramPrefixMultiTabLoading1OrMore[];
extern const char kHistogramPrefixMultiTabLoading2OrMore[];
extern const char kHistogramPrefixMultiTabLoading5OrMore[];
extern const char kHistogramPrefixMultiTabLoading0[];
extern const char kHistogramPrefixMultiTabLoading1[];
extern const char kHistogramPrefixMultiTabLoading2[];
extern const char kHistogramPrefixMultiTabLoading3[];
extern const char kHistogramPrefixMultiTabLoading4[];
extern const char kHistogramPrefixMultiTabLoading5[];
extern const char kHistogramPrefixMultiTab0[];
extern const char kHistogramPrefixMultiTab1[];
extern const char kHistogramPrefixMultiTab2[];
extern const char kHistogramPrefixMultiTab4[];
extern const char kHistogramPrefixMultiTab8[];
extern const char kHistogramPrefixMultiTab16[];
extern const char kHistogramPrefixMultiTab32[];
extern const char kHistogramPrefixMultiTab64[];

}  // namespace internal

// Observer responsible for recording core page load metrics while there are
// other loading tabs.
class MultiTabLoadingPageLoadMetricsObserver
    : public page_load_metrics::PageLoadMetricsObserver {};

#endif  // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_MULTI_TAB_LOADING_PAGE_LOAD_METRICS_OBSERVER_H_