| Index: remoting/host/policy_watcher.h
|
| diff --git a/remoting/host/policy_watcher.h b/remoting/host/policy_watcher.h
|
| index 37195c576d2c823944e441aab3530c40fe364d2a..076cd45f7966a2832be88aed15308a3703d46bfe 100644
|
| --- a/remoting/host/policy_watcher.h
|
| +++ b/remoting/host/policy_watcher.h
|
| @@ -10,7 +10,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 "components/policy/core/common/policy_service.h"
|
|
|
| namespace base {
|
| @@ -28,8 +28,7 @@ class SchemaRegistry;
|
| namespace remoting {
|
|
|
| // Watches for changes to the managed remote access host policies.
|
| -class PolicyWatcher : public policy::PolicyService::Observer,
|
| - public base::NonThreadSafe {
|
| +class PolicyWatcher : public policy::PolicyService::Observer {
|
| public:
|
| // Called first with all policies, and subsequently with any changed policies.
|
| typedef base::Callback<void(std::unique_ptr<base::DictionaryValue>)>
|
| @@ -158,6 +157,8 @@ class PolicyWatcher : public policy::PolicyService::Observer,
|
| std::unique_ptr<policy::ConfigurationPolicyProvider> owned_policy_provider_;
|
| std::unique_ptr<policy::PolicyService> owned_policy_service_;
|
|
|
| + SEQUENCE_CHECKER(sequence_checker_);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PolicyWatcher);
|
| };
|
|
|
|
|