// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_PAGE_LOAD_METRICS_BROWSER_METRICS_NAVIGATION_THROTTLE_H_ #define COMPONENTS_PAGE_LOAD_METRICS_BROWSER_METRICS_NAVIGATION_THROTTLE_H_ #include <memory> #include "content/public/browser/navigation_throttle.h" namespace page_load_metrics { // This class is used to forward calls to the MetricsWebContentsObserver. // Namely, WillStartRequest() is called on NavigationThrottles, but not on // WebContentsObservers. Data from the NavigationHandle accessed at this point // is used to obtain more reliable abort metrics (like page transition type). class MetricsNavigationThrottle : public content::NavigationThrottle { … }; } // namespace page_load_metrics #endif // COMPONENTS_PAGE_LOAD_METRICS_BROWSER_METRICS_NAVIGATION_THROTTLE_H_