// 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_OPTIMIZATION_GUIDE_CORE_MODEL_INFO_H_ #define COMPONENTS_OPTIMIZATION_GUIDE_CORE_MODEL_INFO_H_ #include <memory> #include <optional> #include "base/containers/flat_map.h" #include "base/containers/flat_set.h" #include "base/files/file_path.h" #include "components/optimization_guide/proto/models.pb.h" namespace optimization_guide { // Encapsulates information about a prediction model like its file path on disk // and other metadata. // // Testing: This class is created by OptGuide code in production and isn't meant // to be created by external consumers except for testing. For that purpose, use // |TestModelInfoBuilder|. class ModelInfo { … }; } // namespace optimization_guide #endif // COMPONENTS_OPTIMIZATION_GUIDE_CORE_MODEL_INFO_H_