| // 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 "base/compiler_specific.h" |
| #include "base/memory/weak_ptr.h" |
| virtual ~HostEventLogger() {} |
| // Creates an event-logger that monitors host status changes and logs |
| // corresponding events to the OS-specific log (syslog/EventLog). |
| static std::unique_ptr<HostEventLogger> Create( |
| scoped_refptr<HostStatusMonitor> monitor, |
| const std::string& application_name); |
| DISALLOW_COPY_AND_ASSIGN(HostEventLogger); |
| #endif // REMOTING_HOST_HOST_EVENT_LOGGER_H_ |