Chromium Code Reviews| Index: remoting/host/client_session.h |
| diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h |
| index f0d1e51083c6ca7bb6cbcbf70e2a975e2f2901bc..ade00f9eee772b70214724912d2efce892a8e589 100644 |
| --- a/remoting/host/client_session.h |
| +++ b/remoting/host/client_session.h |
| @@ -81,8 +81,7 @@ class ClientSession |
| virtual ~EventHandler() {} |
| }; |
| - // |event_handler| must outlive |this|. |desktop_environment_factory| is only |
| - // used by the constructor to create an instance of DesktopEnvironment. |
| + // |event_handler| and |desktop_environment_factory| must outlive |this|. |
| ClientSession( |
| EventHandler* event_handler, |
| scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner, |
| @@ -162,8 +161,8 @@ class ClientSession |
| std::string client_jid_; |
| - // The desktop environment used by this session. |
| - scoped_ptr<DesktopEnvironment> desktop_environment_; |
| + // Used to create an instance of desktop environment for this session. |
|
Wez
2013/03/14 04:15:54
nit: "an instance of ..." -> "a DesktopEnvironment
alexeypa (please no reviews)
2013/03/14 19:09:06
Done.
|
| + DesktopEnvironmentFactory* desktop_environment_factory_; |
| // Filter used as the final element in the input pipeline. |
| protocol::InputFilter host_input_filter_; |