#include "remoting/protocol/host_control_dispatcher.h"
#include "base/functional/callback_helpers.h"
#include "net/socket/stream_socket.h"
#include "remoting/base/compound_buffer.h"
#include "remoting/base/constants.h"
#include "remoting/proto/control.pb.h"
#include "remoting/proto/internal.pb.h"
#include "remoting/protocol/clipboard_stub.h"
#include "remoting/protocol/host_stub.h"
#include "remoting/protocol/message_pipe.h"
#include "remoting/protocol/message_serialization.h"
namespace remoting::protocol {
HostControlDispatcher::HostControlDispatcher()
: … { … }
HostControlDispatcher::~HostControlDispatcher() = default;
void HostControlDispatcher::SetCapabilities(const Capabilities& capabilities) { … }
void HostControlDispatcher::SetPairingResponse(
const PairingResponse& pairing_response) { … }
void HostControlDispatcher::DeliverHostMessage(
const ExtensionMessage& message) { … }
void HostControlDispatcher::SetVideoLayout(const VideoLayout& layout) { … }
void HostControlDispatcher::SetTransportInfo(
const TransportInfo& transport_info) { … }
void HostControlDispatcher::SetActiveDisplay(
const ActiveDisplay& active_display) { … }
void HostControlDispatcher::InjectClipboardEvent(const ClipboardEvent& event) { … }
void HostControlDispatcher::SetCursorShape(
const CursorShapeInfo& cursor_shape) { … }
void HostControlDispatcher::SetKeyboardLayout(const KeyboardLayout& layout) { … }
void HostControlDispatcher::OnIncomingMessage(
std::unique_ptr<CompoundBuffer> buffer) { … }
}