summaryrefslogtreecommitdiffstats
path: root/remoting/host/host_event_logger.h
blob: 27d43ff043f0786edd8fef83cf57ab2e53c41eba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef REMOTING_HOST_HOST_EVENT_LOGGER_H_
#define REMOTING_HOST_HOST_EVENT_LOGGER_H_

#include <string>

#include "base/compiler_specific.h"
#include "remoting/host/host_status_observer.h"

namespace remoting {

class HostEventLogger : public HostStatusObserver {
 public:
  HostEventLogger();
  virtual ~HostEventLogger();

  // HostStatusObserver implementation.  These methods will be called from the
  // network thread.
  virtual void OnClientAuthenticated(const std::string& jid) OVERRIDE;
  virtual void OnClientDisconnected(const std::string& jid) OVERRIDE;
  virtual void OnAccessDenied() OVERRIDE;
  virtual void OnShutdown() OVERRIDE;
};

}

#endif  // REMOTING_HOST_HOST_EVENT_LOGGER_H_