Index: remoting/host/setup/win/auth_code_getter.h |
diff --git a/remoting/host/setup/win/auth_code_getter.h b/remoting/host/setup/win/auth_code_getter.h |
index b4a575670f5009e152be96bff69a928d4932a01f..22aa0534f9f140d0f7a8a1b3234e02ecc5b12831 100644 |
--- a/remoting/host/setup/win/auth_code_getter.h |
+++ b/remoting/host/setup/win/auth_code_getter.h |
@@ -12,14 +12,14 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
-#include "base/threading/non_thread_safe.h" |
+#include "base/sequence_checker.h" |
#include "base/timer/timer.h" |
#include "base/win/scoped_comptr.h" |
namespace remoting { |
// A class for getting an OAuth authorization code. |
-class AuthCodeGetter : public base::NonThreadSafe { |
+class AuthCodeGetter { |
public: |
AuthCodeGetter(); |
~AuthCodeGetter(); |
@@ -49,6 +49,8 @@ class AuthCodeGetter : public base::NonThreadSafe { |
// The interval at which the timer fires. |
base::TimeDelta timer_interval_; |
+ SEQUENCE_CHECKER(sequence_checker_); |
+ |
DISALLOW_COPY_AND_ASSIGN(AuthCodeGetter); |
}; |