Index: remoting/host/host_status_logger.h |
diff --git a/remoting/host/host_status_logger.h b/remoting/host/host_status_logger.h |
index 19983db2e6f1076b20a0f4903e8c756472ed17a4..55771cc3adc1d16b5a76e9cd5fa73b977278abb6 100644 |
--- a/remoting/host/host_status_logger.h |
+++ b/remoting/host/host_status_logger.h |
@@ -9,7 +9,7 @@ |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
-#include "base/threading/non_thread_safe.h" |
+#include "base/sequence_checker.h" |
#include "remoting/host/host_status_observer.h" |
#include "remoting/protocol/transport.h" |
#include "remoting/signaling/log_to_server.h" |
@@ -21,8 +21,7 @@ class HostStatusMonitor; |
// HostStatusLogger sends host log entries to a server. |
// The contents of the log entries are described in server_log_entry_host.cc. |
// They do not contain any personally identifiable information. |
-class HostStatusLogger : public HostStatusObserver, |
- public base::NonThreadSafe { |
+class HostStatusLogger : public HostStatusObserver { |
public: |
HostStatusLogger(base::WeakPtr<HostStatusMonitor> monitor, |
ServerLogEntry::Mode mode, |
@@ -54,6 +53,8 @@ class HostStatusLogger : public HostStatusObserver, |
std::map<std::string, protocol::TransportRoute::RouteType> |
connection_route_type_; |
+ SEQUENCE_CHECKER(sequence_checker_); |
+ |
DISALLOW_COPY_AND_ASSIGN(HostStatusLogger); |
}; |