#include "components/optimization_guide/core/model_quality/test_model_quality_logs_uploader_service.h"
#include "base/memory/scoped_refptr.h"
#include "components/optimization_guide/core/feature_registry/mqls_feature_registry.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
namespace optimization_guide {
TestModelQualityLogsUploaderService::TestModelQualityLogsUploaderService(
PrefService* pref_service)
: … { … }
TestModelQualityLogsUploaderService::~TestModelQualityLogsUploaderService() =
default;
bool TestModelQualityLogsUploaderService::CanUploadLogs(
const MqlsFeatureMetadata* metadata) { … }
void TestModelQualityLogsUploaderService::WaitForLogUpload(
base::OnceCallback<void()> callback) { … }
void TestModelQualityLogsUploaderService::UploadFinalizedLog(
std::unique_ptr<proto::LogAiDataRequest> log,
proto::LogAiDataRequest::FeatureCase feature) { … }
}