#include "media/learning/mojo/public/cpp/mojo_learning_task_controller.h"
#include <utility>
namespace media {
namespace learning {
MojoLearningTaskController::MojoLearningTaskController(
const LearningTask& task,
mojo::Remote<mojom::LearningTaskController> controller)
: … { … }
MojoLearningTaskController::~MojoLearningTaskController() = default;
void MojoLearningTaskController::BeginObservation(
base::UnguessableToken id,
const FeatureVector& features,
const std::optional<TargetValue>& default_target,
const std::optional<ukm::SourceId>& source_id) { … }
void MojoLearningTaskController::CompleteObservation(
base::UnguessableToken id,
const ObservationCompletion& completion) { … }
void MojoLearningTaskController::CancelObservation(base::UnguessableToken id) { … }
void MojoLearningTaskController::UpdateDefaultTarget(
base::UnguessableToken id,
const std::optional<TargetValue>& default_target) { … }
const LearningTask& MojoLearningTaskController::GetLearningTask() { … }
void MojoLearningTaskController::PredictDistribution(
const FeatureVector& features,
PredictionCB callback) { … }
}
}