// Copyright 2019 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_FETCHER_H_ #define COMPONENTS_OPTIMIZATION_GUIDE_CORE_PREDICTION_MODEL_FETCHER_H_ #include <optional> #include <string> #include <vector> #include "base/functional/callback.h" #include "components/optimization_guide/proto/models.pb.h" namespace optimization_guide { // Callback to inform the caller that the remote hints have been fetched and // to pass back the fetched hints response from the remote Optimization Guide // Service. ModelsFetchedCallback; // A class to handle requests for prediction models (and prediction data) from // a remote Optimization Guide Service. // // This class fetches new models from the remote Optimization Guide Service. class PredictionModelFetcher { … }; } // namespace optimization_guide #endif // COMPONENTS_OPTIMIZATION_GUIDE_CORE_PREDICTION_MODEL_FETCHER_H_