Index: remoting/host/client_session.h |
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h |
index 55e06d1f7f4afc00de76e1480228f27c89ae15c5..24440d8ad6f9849b1e064c0c6bee56bc5d54e3d3 100644 |
--- a/remoting/host/client_session.h |
+++ b/remoting/host/client_session.h |
@@ -12,8 +12,8 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
+#include "base/sequence_checker.h" |
#include "base/sequenced_task_runner_helpers.h" |
-#include "base/threading/non_thread_safe.h" |
#include "base/time/time.h" |
#include "base/timer/timer.h" |
#include "remoting/host/client_session_control.h" |
@@ -50,8 +50,7 @@ class VideoLayout; |
// A ClientSession keeps a reference to a connection to a client, and maintains |
// per-client state. |
-class ClientSession : public base::NonThreadSafe, |
- public protocol::HostStub, |
+class ClientSession : public protocol::HostStub, |
public protocol::ConnectionToClient::EventHandler, |
public protocol::VideoStream::Observer, |
public ClientSessionControl, |
@@ -248,6 +247,8 @@ class ClientSession : public base::NonThreadSafe, |
HostExperimentSessionPlugin host_experiment_session_plugin_; |
+ SEQUENCE_CHECKER(sequence_checker_); |
+ |
// Used to disable callbacks to |this| once DisconnectSession() has been |
// called. |
base::WeakPtrFactory<ClientSessionControl> weak_factory_; |