| Index: chromeos/process_proxy/process_proxy_registry.h
|
| diff --git a/chromeos/process_proxy/process_proxy_registry.h b/chromeos/process_proxy/process_proxy_registry.h
|
| index 428a61c1ec250f3a18ac359ce168fd5432c0e3c4..16ca7b535a3bbb6e71d91e22f8c84090b79dc5b3 100644
|
| --- a/chromeos/process_proxy/process_proxy_registry.h
|
| +++ b/chromeos/process_proxy/process_proxy_registry.h
|
| @@ -13,7 +13,7 @@
|
| #include "base/lazy_instance.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/threading/non_thread_safe.h"
|
| +#include "base/sequence_checker.h"
|
| #include "base/threading/thread.h"
|
| #include "chromeos/chromeos_export.h"
|
| #include "chromeos/process_proxy/process_proxy.h"
|
| @@ -22,7 +22,7 @@ namespace chromeos {
|
|
|
| // Keeps track of all created ProcessProxies. It is created lazily and should
|
| // live on a single thread (where all methods must be called).
|
| -class CHROMEOS_EXPORT ProcessProxyRegistry : public base::NonThreadSafe {
|
| +class CHROMEOS_EXPORT ProcessProxyRegistry {
|
| public:
|
| using OutputCallback = base::Callback<void(int terminal_id,
|
| const std::string& output_type,
|
| @@ -73,6 +73,8 @@ class CHROMEOS_EXPORT ProcessProxyRegistry : public base::NonThreadSafe {
|
|
|
| std::unique_ptr<base::Thread> watcher_thread_;
|
|
|
| + SEQUENCE_CHECKER(sequence_checker_);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ProcessProxyRegistry);
|
| };
|
|
|
|
|