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

// Copyright 2023 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_TAB_STRIP_PAGE_LOAD_METRICS_OBSERVER_H_
#define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_TAB_STRIP_PAGE_LOAD_METRICS_OBSERVER_H_

#include "components/page_load_metrics/browser/page_load_metrics_observer.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/web_contents.h"

namespace internal {

extern const char kTabsActiveAbsolutePosition[];
extern const char kTabsActiveRelativePosition[];
extern const char kTabsPageLoadTimeSinceActive[];
extern const char kTabsPageLoadTimeSinceCreated[];

}  // namespace internal

// Observer responsible for notifying the tab strip of the status of a page
// load. This information is used to log UMA metrics at a page load level.
class TabStripPageLoadMetricsObserver
    : public page_load_metrics::PageLoadMetricsObserver {};

#endif  // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_TAB_STRIP_PAGE_LOAD_METRICS_OBSERVER_H_