Index: remoting/protocol/ssl_hmac_channel_authenticator.h |
diff --git a/remoting/protocol/ssl_hmac_channel_authenticator.h b/remoting/protocol/ssl_hmac_channel_authenticator.h |
index c76341c84f1550037098f0c855a9cd7565531e85..462aaea5e0dd8a84d1024e52e21d98d996f70cda 100644 |
--- a/remoting/protocol/ssl_hmac_channel_authenticator.h |
+++ b/remoting/protocol/ssl_hmac_channel_authenticator.h |
@@ -11,7 +11,7 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
-#include "base/threading/non_thread_safe.h" |
+#include "base/sequence_checker.h" |
#include "remoting/protocol/channel_authenticator.h" |
namespace net { |
@@ -34,8 +34,7 @@ namespace protocol { |
// SslHmacChannelAuthenticator implements ChannelAuthenticator that |
// secures channels using SSL and authenticates them with a shared |
// secret HMAC. |
-class SslHmacChannelAuthenticator : public ChannelAuthenticator, |
- public base::NonThreadSafe { |
+class SslHmacChannelAuthenticator : public ChannelAuthenticator { |
public: |
enum LegacyMode { |
NONE, |
@@ -104,6 +103,8 @@ class SslHmacChannelAuthenticator : public ChannelAuthenticator, |
scoped_refptr<net::DrainableIOBuffer> auth_write_buf_; |
scoped_refptr<net::GrowableIOBuffer> auth_read_buf_; |
+ SEQUENCE_CHECKER(sequence_checker_); |
+ |
DISALLOW_COPY_AND_ASSIGN(SslHmacChannelAuthenticator); |
}; |