Index: remoting/protocol/stream_channel_factory.h |
diff --git a/remoting/protocol/stream_channel_factory.h b/remoting/protocol/stream_channel_factory.h |
index a28b0272beb98f90e95f06b6ab446b29f1aedf85..e078659a6b31ebd19a6e6a261b3eadde6cb2a775 100644 |
--- a/remoting/protocol/stream_channel_factory.h |
+++ b/remoting/protocol/stream_channel_factory.h |
@@ -10,14 +10,14 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
-#include "base/threading/non_thread_safe.h" |
+#include "base/sequence_checker.h" |
namespace remoting { |
namespace protocol { |
class P2PStreamSocket; |
-class StreamChannelFactory : public base::NonThreadSafe { |
+class StreamChannelFactory { |
public: |
// TODO(sergeyu): Specify connection error code when channel |
// connection fails. |
@@ -42,6 +42,8 @@ class StreamChannelFactory : public base::NonThreadSafe { |
protected: |
virtual ~StreamChannelFactory() {} |
+ SEQUENCE_CHECKER(sequence_checker_); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(StreamChannelFactory); |
}; |