#include "components/optimization_guide/core/model_execution/on_device_model_validator.h"
namespace optimization_guide {
OnDeviceModelValidator::OnDeviceModelValidator(
const proto::OnDeviceModelValidationConfig& validation_config,
FinishCallback callback,
mojo::Remote<on_device_model::mojom::Session> session)
: … { … }
OnDeviceModelValidator::~OnDeviceModelValidator() = default;
void OnDeviceModelValidator::ValidateNextPrompt() { … }
void OnDeviceModelValidator::OnResponse(
on_device_model::mojom::ResponseChunkPtr chunk) { … }
void OnDeviceModelValidator::OnComplete(
on_device_model::mojom::ResponseSummaryPtr summary) { … }
void OnDeviceModelValidator::FinishValidation(
OnDeviceModelValidationResult result) { … }
}