| Index: remoting/host/host_event_logger.h
|
| diff --git a/remoting/host/host_event_logger.h b/remoting/host/host_event_logger.h
|
| index b039b3b5e50d9ffe634e3cb1a62dc4043c68ffea..92dd81e3c917017a50c392a966282315f34974c3 100644
|
| --- a/remoting/host/host_event_logger.h
|
| +++ b/remoting/host/host_event_logger.h
|
| @@ -10,10 +10,11 @@
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/weak_ptr.h"
|
|
|
| namespace remoting {
|
|
|
| -class ChromotingHost;
|
| +class HostStatusMonitor;
|
|
|
| class HostEventLogger {
|
| public:
|
| @@ -22,7 +23,8 @@ class HostEventLogger {
|
| // Creates an event-logger that monitors host status changes and logs
|
| // corresponding events to the OS-specific log (syslog/EventLog).
|
| static scoped_ptr<HostEventLogger> Create(
|
| - ChromotingHost* host, const std::string& application_name);
|
| + base::WeakPtr<HostStatusMonitor> monitor,
|
| + const std::string& application_name);
|
|
|
| protected:
|
| HostEventLogger() {}
|
|
|