Index: remoting/host/win/worker_process_launcher.h |
diff --git a/remoting/host/win/worker_process_launcher.h b/remoting/host/win/worker_process_launcher.h |
index 638d633b452f89a949fe87bb8a9326d3154ca166..6c68206a2a8e2d8ca23725ed73538308720d4e78 100644 |
--- a/remoting/host/win/worker_process_launcher.h |
+++ b/remoting/host/win/worker_process_launcher.h |
@@ -13,7 +13,7 @@ |
#include "base/compiler_specific.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/timer/timer.h" |
#include "base/win/object_watcher.h" |
#include "base/win/scoped_handle.h" |
@@ -39,9 +39,7 @@ class WorkerProcessIpcDelegate; |
// interaction with the spawned process is through WorkerProcessIpcDelegate and |
// Send() method. In case of error the channel is closed and the worker process |
// is terminated. |
-class WorkerProcessLauncher |
- : public base::NonThreadSafe, |
- public base::win::ObjectWatcher::Delegate { |
+class WorkerProcessLauncher : public base::win::ObjectWatcher::Delegate { |
public: |
class Delegate { |
public: |
@@ -163,6 +161,8 @@ class WorkerProcessLauncher |
// The handle of the worker process, if launched. |
base::win::ScopedHandle worker_process_; |
+ SEQUENCE_CHECKER(sequence_checker_); |
+ |
DISALLOW_COPY_AND_ASSIGN(WorkerProcessLauncher); |
}; |