#include "remoting/host/remote_open_url/url_forwarder_control_message_handler.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/logging.h"
#include "remoting/base/logging.h"
#include "remoting/host/remote_open_url/url_forwarder_configurator.h"
#include "remoting/protocol/message_serialization.h"
namespace remoting {
constexpr char UrlForwarderControlMessageHandler::kDataChannelName[];
UrlForwarderControlMessageHandler::UrlForwarderControlMessageHandler(
std::unique_ptr<UrlForwarderConfigurator> url_forwarder_configurator,
const std::string& name,
std::unique_ptr<protocol::MessagePipe> pipe)
: … { … }
UrlForwarderControlMessageHandler::~UrlForwarderControlMessageHandler() =
default;
void UrlForwarderControlMessageHandler::OnConnected() { … }
void UrlForwarderControlMessageHandler::OnIncomingMessage(
std::unique_ptr<CompoundBuffer> message) { … }
void UrlForwarderControlMessageHandler::OnDisconnecting() { … }
void UrlForwarderControlMessageHandler::OnIsUrlForwarderSetUpResult(
bool is_set_up) { … }
void UrlForwarderControlMessageHandler::OnSetUpUrlForwarderResult(
protocol::UrlForwarderControl::SetUpUrlForwarderResponse::State state) { … }
}