#ifndef REMOTING_BASE_LOGGING_SERVICE_CLIENT_H_
#define REMOTING_BASE_LOGGING_SERVICE_CLIENT_H_
#include "base/functional/callback_forward.h"
#include "remoting/base/http_status.h"
#include "remoting/proto/logging_service.h"
namespace remoting {
class LoggingServiceClient {
public:
using StatusCallback = base::OnceCallback<void(const HttpStatus&)>;
LoggingServiceClient() = default;
virtual ~LoggingServiceClient() = default;
LoggingServiceClient(const LoggingServiceClient&) = delete;
LoggingServiceClient& operator=(const LoggingServiceClient&) = delete;
virtual void ReportSessionDisconnected(
const internal::ReportSessionDisconnectedRequestStruct& request,
StatusCallback done) = 0;
};
}
#endif