chromium/remoting/host/host_event_logger_posix.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/host/host_event_logger.h"

// Included order is important, since the #define for LOG_USER in syslog.h
// conflicts with the constants in base/logging.h, and this source file should
// use the version in syslog.h.
// clang-format off
#include "base/logging.h"
#include <syslog.h>
// clang-format on

#include <memory>

#include "base/memory/ptr_util.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/stringprintf.h"
#include "net/base/ip_endpoint.h"
#include "remoting/host/host_status_monitor.h"
#include "remoting/host/host_status_observer.h"
#include "remoting/protocol/transport.h"

namespace remoting {

namespace {

class HostEventLoggerPosix : public HostEventLogger, public HostStatusObserver {};

}  // namespace

HostEventLoggerPosix::HostEventLoggerPosix(
    scoped_refptr<HostStatusMonitor> monitor,
    const std::string& application_name)
    :{}

HostEventLoggerPosix::~HostEventLoggerPosix() {}

void HostEventLoggerPosix::OnClientAuthenticated(
    const std::string& signaling_id) {}

void HostEventLoggerPosix::OnClientDisconnected(
    const std::string& signaling_id) {}

void HostEventLoggerPosix::OnClientAccessDenied(
    const std::string& signaling_id) {}

void HostEventLoggerPosix::OnClientRouteChange(
    const std::string& signaling_id,
    const std::string& channel_name,
    const protocol::TransportRoute& route) {}

void HostEventLoggerPosix::OnHostShutdown() {}

void HostEventLoggerPosix::OnHostStarted(const std::string& user_email) {}

void HostEventLoggerPosix::Log(const std::string& message) {}

// static
std::unique_ptr<HostEventLogger> HostEventLogger::Create(
    scoped_refptr<HostStatusMonitor> monitor,
    const std::string& application_name) {}

}  // namespace remoting