| 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 6c68206a2a8e2d8ca23725ed73538308720d4e78..19a98ca49a315bb338691b5c7e7764167b3b3773 100644
|
| --- a/remoting/host/win/worker_process_launcher.h
|
| +++ b/remoting/host/win/worker_process_launcher.h
|
| @@ -10,6 +10,7 @@
|
| #include <memory>
|
|
|
| #include "base/callback.h"
|
| +#include "base/command_line.h"
|
| #include "base/compiler_specific.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| @@ -97,6 +98,9 @@ class WorkerProcessLauncher : public base::win::ObjectWatcher::Delegate {
|
| void OnChannelConnected(int32_t peer_pid);
|
| void OnChannelError();
|
|
|
| + // Appends extra command line switches to |command_line|.
|
| + void AppendSwitches(base::CommandLine* command_line) const;
|
| +
|
| private:
|
| friend class WorkerProcessLauncherTest;
|
|
|
| @@ -161,6 +165,9 @@ class WorkerProcessLauncher : public base::win::ObjectWatcher::Delegate {
|
| // The handle of the worker process, if launched.
|
| base::win::ScopedHandle worker_process_;
|
|
|
| + // How many times the process has been started.
|
| + int start_counter_ = 0;
|
| +
|
| SEQUENCE_CHECKER(sequence_checker_);
|
|
|
| DISALLOW_COPY_AND_ASSIGN(WorkerProcessLauncher);
|
|
|