#include "content/browser/ai/echo_ai_text_session.h"
#include <optional>
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/time/time.h"
#include "components/optimization_guide/core/optimization_guide_features.h"
#include "content/public/browser/browser_thread.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
#include "third_party/blink/public/mojom/ai/ai_text_session.mojom.h"
#include "third_party/blink/public/mojom/ai/ai_text_session_info.mojom.h"
#include "third_party/blink/public/mojom/ai/model_streaming_responder.mojom.h"
namespace content {
EchoAITextSession::EchoAITextSession() = default;
EchoAITextSession::~EchoAITextSession() = default;
void EchoAITextSession::DoMockExecution(const std::string& input,
mojo::RemoteSetElementId responder_id) { … }
void EchoAITextSession::Prompt(
const std::string& input,
mojo::PendingRemote<blink::mojom::ModelStreamingResponder>
pending_responder) { … }
void EchoAITextSession::Fork(
mojo::PendingReceiver<blink::mojom::AITextSession> session,
ForkCallback callback) { … }
void EchoAITextSession::Destroy() { … }
}