// Copyright 2021 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_SEGMENTATION_PLATFORM_INTERNAL_SCHEDULER_MODEL_EXECUTION_SCHEDULER_H_ #define COMPONENTS_SEGMENTATION_PLATFORM_INTERNAL_SCHEDULER_MODEL_EXECUTION_SCHEDULER_H_ #include "components/segmentation_platform/public/proto/segmentation_platform.pb.h" namespace segmentation_platform { namespace proto { class SegmentInfo; } // namespace proto struct ModelExecutionResult; SegmentId; // Central class responsible for scheduling model execution. Determines which // models are eligible for execution based on various criteria e.g. cached // results, TTL etc. Invoked from multiple classes such as segment // selector or periodic jobs. class ModelExecutionScheduler { … }; } // namespace segmentation_platform #endif // COMPONENTS_SEGMENTATION_PLATFORM_INTERNAL_SCHEDULER_MODEL_EXECUTION_SCHEDULER_H_