// 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 COMPONENTS_OPTIMIZATION_GUIDE_CORE_PREDICTION_MODEL_FETCH_TIMER_H_ #define COMPONENTS_OPTIMIZATION_GUIDE_CORE_PREDICTION_MODEL_FETCH_TIMER_H_ #include "base/functional/callback.h" #include "base/memory/raw_ptr.h" #include "base/sequence_checker.h" #include "base/time/clock.h" #include "base/timer/timer.h" class PrefService; namespace optimization_guide { // Handles the fetch timer and relevant state for scheduling the initial and // periodic fetching fetching of prediction models. class PredictionModelFetchTimer { … }; } // namespace optimization_guide #endif // COMPONENTS_OPTIMIZATION_GUIDE_CORE_PREDICTION_MODEL_FETCH_TIMER_H_