#include "remoting/host/host_status_logger.h"
#include "base/functional/bind.h"
#include "remoting/base/constants.h"
#include "remoting/host/host_status_monitor.h"
#include "remoting/host/server_log_entry_host.h"
#include "remoting/protocol/transport.h"
#include "remoting/signaling/server_log_entry.h"
namespace remoting {
HostStatusLogger::HostStatusLogger(scoped_refptr<HostStatusMonitor> monitor,
LogToServer* log_to_server)
: … { … }
HostStatusLogger::~HostStatusLogger() { … }
void HostStatusLogger::LogSessionStateChange(const std::string& jid,
bool connected) { … }
void HostStatusLogger::OnClientConnected(const std::string& jid) { … }
void HostStatusLogger::OnClientDisconnected(const std::string& jid) { … }
void HostStatusLogger::OnClientRouteChange(
const std::string& jid,
const std::string& channel_name,
const protocol::TransportRoute& route) { … }
}