#include "third_party/blink/renderer/modules/ai/ai_text_session.h"
#include "base/task/sequenced_task_runner.h"
#include "third_party/blink/renderer/modules/ai/ai_assistant.h"
#include "third_party/blink/renderer/modules/ai/exception_helpers.h"
#include "third_party/blink/renderer/modules/ai/model_execution_responder.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
namespace blink {
AITextSession::AITextSession(
ExecutionContext* context,
scoped_refptr<base::SequencedTaskRunner> task_runner)
: … { … }
void AITextSession::Trace(Visitor* visitor) const { … }
mojo::PendingReceiver<blink::mojom::blink::AITextSession>
AITextSession::GetModelSessionReceiver() { … }
void AITextSession::SetInfo(std::variant<base::PassKey<AITextSessionFactory>,
base::PassKey<AIAssistant>> pass_key,
blink::mojom::blink::AITextSessionInfoPtr info) { … }
}