#include "remoting/host/corp_host_status_logger.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/logging.h"
#include "remoting/base/corp_auth_util.h"
#include "remoting/base/corp_logging_service_client.h"
#include "remoting/base/logging.h"
#include "remoting/base/protobuf_http_status.h"
#include "remoting/protocol/authenticator.h"
#include "remoting/protocol/credentials_type.h"
#include "remoting/protocol/session.h"
#include "remoting/protocol/session_authz_authenticator.h"
#include "remoting/protocol/session_authz_reauthorizer.h"
#include "remoting/protocol/session_manager.h"
namespace remoting {
CorpHostStatusLogger::CorpHostStatusLogger(
scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
const std::string& service_account_email,
const std::string& refresh_token)
: … { … }
CorpHostStatusLogger::CorpHostStatusLogger(
std::unique_ptr<LoggingServiceClient> service_client)
: … { … }
CorpHostStatusLogger::~CorpHostStatusLogger() = default;
void CorpHostStatusLogger::StartObserving(
protocol::SessionManager& session_manager) { … }
void CorpHostStatusLogger::OnSessionStateChange(
const protocol::Session& session,
protocol::Session::State state) { … }
}