Index: components/invalidation/impl/invalidation_service_android.h |
diff --git a/components/invalidation/impl/invalidation_service_android.h b/components/invalidation/impl/invalidation_service_android.h |
index 9dd51ee31379c69c5245d2e8e747c725bc718614..d6526a1a139707830a220ab59795b177a2543eec 100644 |
--- a/components/invalidation/impl/invalidation_service_android.h |
+++ b/components/invalidation/impl/invalidation_service_android.h |
@@ -14,7 +14,7 @@ |
#include "base/android/scoped_java_ref.h" |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
-#include "base/threading/non_thread_safe.h" |
+#include "base/sequence_checker.h" |
#include "components/invalidation/impl/invalidation_logger.h" |
#include "components/invalidation/impl/invalidator_registrar.h" |
#include "components/invalidation/public/invalidation_service.h" |
@@ -26,9 +26,7 @@ class InvalidationLogger; |
// This InvalidationService is used to deliver invalidations on Android. The |
// Android operating system has its own mechanisms for delivering invalidations. |
-class InvalidationServiceAndroid |
- : public base::NonThreadSafe, |
- public InvalidationService { |
+class InvalidationServiceAndroid : public InvalidationService { |
public: |
explicit InvalidationServiceAndroid(); |
~InvalidationServiceAndroid() override; |
@@ -87,6 +85,8 @@ class InvalidationServiceAndroid |
// and invalidations. |
InvalidationLogger logger_; |
+ SEQUENCE_CHECKER(sequence_checker_); |
+ |
DISALLOW_COPY_AND_ASSIGN(InvalidationServiceAndroid); |
}; |