#ifndef MEDIA_LEARNING_COMMON_LEARNING_SESSION_H_
#define MEDIA_LEARNING_COMMON_LEARNING_SESSION_H_
#include <memory>
#include <string>
#include "base/component_export.h"
#include "base/supports_user_data.h"
#include "media/learning/common/labelled_example.h"
#include "media/learning/common/learning_task.h"
namespace media {
namespace learning {
class LearningTaskController;
class COMPONENT_EXPORT(LEARNING_COMMON) LearningSession
: public base::SupportsUserData::Data {
public:
LearningSession();
LearningSession(const LearningSession&) = delete;
LearningSession& operator=(const LearningSession&) = delete;
~LearningSession() override;
virtual std::unique_ptr<LearningTaskController> GetController(
const std::string& task_name) = 0;
};
}
}
#endif