| Index: remoting/host/chromoting_host.h
|
| diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
|
| index fb26aec8d349a36232596348a62d61012abe0ea1..bb9e80ed2df6b98a03bd9dee7d83d3641f2bc884 100644
|
| --- a/remoting/host/chromoting_host.h
|
| +++ b/remoting/host/chromoting_host.h
|
| @@ -182,6 +182,9 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
|
| void ProcessPreAuthentication(
|
| const scoped_refptr<protocol::ConnectionToClient>& connection);
|
|
|
| + void StopScreenRecorder();
|
| + void OnScreenRecorderStopped();
|
| +
|
| // The following methods are called during shutdown.
|
| void ShutdownNetwork();
|
| void ShutdownRecorder();
|
| @@ -212,6 +215,12 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
|
| // and read by jingle thread.
|
| State state_;
|
|
|
| + // Number of screen recorders that are currently being
|
| + // stopped. Normally set to 0 or 1, but in some cases it may be
|
| + // greater than 1, particularly if when second client can connect
|
| + // immidiately after previous one disconnected.
|
| + int stopping_recorders_;
|
| +
|
| // Lock is to lock the access to |state_|.
|
| base::Lock lock_;
|
|
|
|
|