// 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 COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_PERFORMANCE_MANAGER_MAIN_THREAD_MECHANISM_H_ #define COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_PERFORMANCE_MANAGER_MAIN_THREAD_MECHANISM_H_ #include "base/observer_list_types.h" #include <memory> #include <vector> namespace content { class NavigationHandle; class NavigationThrottle; } // namespace content namespace performance_manager { // Interface for implementing PerformanceManager mechanism hooks that occur on // the main thread. All methods are invoked on the main thread. class PerformanceManagerMainThreadMechanism : public base::CheckedObserver { … }; } // namespace performance_manager #endif // COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_PERFORMANCE_MANAGER_MAIN_THREAD_MECHANISM_H_