#include "components/optimization_guide/core/optimization_hints_component_update_listener.h"
#include "base/metrics/histogram_functions.h"
#include "base/no_destructor.h"
#include "base/observer_list.h"
namespace optimization_guide {
OptimizationHintsComponentUpdateListener*
OptimizationHintsComponentUpdateListener::GetInstance() { … }
OptimizationHintsComponentUpdateListener::
OptimizationHintsComponentUpdateListener() = default;
OptimizationHintsComponentUpdateListener::
~OptimizationHintsComponentUpdateListener() = default;
void OptimizationHintsComponentUpdateListener::AddObserver(
OptimizationHintsComponentObserver* observer) { … }
void OptimizationHintsComponentUpdateListener::RemoveObserver(
OptimizationHintsComponentObserver* observer) { … }
void OptimizationHintsComponentUpdateListener::MaybeUpdateHintsComponent(
const HintsComponentInfo& info) { … }
void OptimizationHintsComponentUpdateListener::ResetStateForTesting() { … }
}